1
0
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:
Andrei Kortunov 2023-04-11 12:18:01 +04:00
parent 3e9cedf3b5
commit 5862f9f284
2 changed files with 1 additions and 5 deletions

View File

@ -41,8 +41,6 @@ std::mutex* osgQOpenGLWidget::mutex()
void osgQOpenGLWidget::initializeGL()
{
// Initializes OpenGL function resolution for the current context.
initializeOpenGLFunctions();
createRenderer();
emit initialized();
}

View File

@ -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