1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-30 16:15:33 +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() void osgQOpenGLWidget::initializeGL()
{ {
// Initializes OpenGL function resolution for the current context.
initializeOpenGLFunctions();
createRenderer(); createRenderer();
emit initialized(); emit initialized();
} }

View file

@ -10,7 +10,6 @@
#include <osg/ArgumentParser> #include <osg/ArgumentParser>
#include <QOpenGLWidget> #include <QOpenGLWidget>
#include <QOpenGLFunctions>
#include <QReadWriteLock> #include <QReadWriteLock>
class CompositeOsgRenderer; class CompositeOsgRenderer;
@ -21,8 +20,7 @@ namespace osgViewer
class GraphicsWindowEmbedded; class GraphicsWindowEmbedded;
} }
class osgQOpenGLWidget : public QOpenGLWidget, class osgQOpenGLWidget : public QOpenGLWidget
protected QOpenGLFunctions
{ {
Q_OBJECT Q_OBJECT