mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-27 06:14:09 +00:00
Do not use GL ES wrappers
This commit is contained in:
parent
3e9cedf3b5
commit
5862f9f284
2
extern/osgQt/osgQOpenGLWidget.cpp
vendored
2
extern/osgQt/osgQOpenGLWidget.cpp
vendored
@ -41,8 +41,6 @@ std::mutex* osgQOpenGLWidget::mutex()
|
||||
|
||||
void osgQOpenGLWidget::initializeGL()
|
||||
{
|
||||
// Initializes OpenGL function resolution for the current context.
|
||||
initializeOpenGLFunctions();
|
||||
createRenderer();
|
||||
emit initialized();
|
||||
}
|
||||
|
4
extern/osgQt/osgQOpenGLWidget.hpp
vendored
4
extern/osgQt/osgQOpenGLWidget.hpp
vendored
@ -10,7 +10,6 @@
|
||||
#include <osg/ArgumentParser>
|
||||
|
||||
#include <QOpenGLWidget>
|
||||
#include <QOpenGLFunctions>
|
||||
#include <QReadWriteLock>
|
||||
|
||||
class CompositeOsgRenderer;
|
||||
@ -21,8 +20,7 @@ namespace osgViewer
|
||||
class GraphicsWindowEmbedded;
|
||||
}
|
||||
|
||||
class osgQOpenGLWidget : public QOpenGLWidget,
|
||||
protected QOpenGLFunctions
|
||||
class osgQOpenGLWidget : public QOpenGLWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user