Build fixes for GLES1, GLES2 and GL3
This commit is contained in:
@@ -40,7 +40,6 @@ IF(DYNAMIC_OPENSCENEGRAPH)
|
||||
ADD_SUBDIRECTORY(osgfadetext)
|
||||
ADD_SUBDIRECTORY(osgfont)
|
||||
ADD_SUBDIRECTORY(osgforest)
|
||||
ADD_SUBDIRECTORY(osgfpdepth)
|
||||
ADD_SUBDIRECTORY(osgfxbrowser)
|
||||
ADD_SUBDIRECTORY(osgoutline)
|
||||
ADD_SUBDIRECTORY(osggameoflife)
|
||||
@@ -151,6 +150,10 @@ IF(DYNAMIC_OPENSCENEGRAPH)
|
||||
ADD_SUBDIRECTORY(osgmemorytest)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT OSG_GL3_AVAILABLE)
|
||||
ADD_SUBDIRECTORY(osgfpdepth)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT OSG_GLES1_AVAILABLE AND NOT OSG_GLES2_AVAILABLE AND NOT OSG_GL3_AVAILABLE)
|
||||
ADD_SUBDIRECTORY(osgscreencapture)
|
||||
ADD_SUBDIRECTORY(osgmotionblur)
|
||||
|
||||
@@ -14,10 +14,11 @@
|
||||
#ifndef OSGVIEWER_GRAPHICSWINDOWQT
|
||||
#define OSGVIEWER_GRAPHICSWINDOWQT
|
||||
|
||||
#include <osgViewer/GraphicsWindow>
|
||||
|
||||
#include <QtGui/QWidget>
|
||||
#include <QtGui/QInputEvent>
|
||||
#include <QtOpenGL/QGLWidget>
|
||||
#include <osgViewer/GraphicsWindow>
|
||||
|
||||
class GraphWidget : public QGLWidget
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user