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:
parent
3e9cedf3b5
commit
5862f9f284
2 changed files with 1 additions and 5 deletions
2
extern/osgQt/osgQOpenGLWidget.cpp
vendored
2
extern/osgQt/osgQOpenGLWidget.cpp
vendored
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
4
extern/osgQt/osgQOpenGLWidget.hpp
vendored
4
extern/osgQt/osgQOpenGLWidget.hpp
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue