Fixed GLX EGL build
This commit is contained in:
parent
639ced08fc
commit
879b54f6e9
@ -37,10 +37,11 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow, pub
|
|||||||
_parent(0),
|
_parent(0),
|
||||||
_window(0),
|
_window(0),
|
||||||
_visualInfo(0),
|
_visualInfo(0),
|
||||||
_fbConfig(0),
|
|
||||||
#ifdef OSG_USE_EGL
|
#ifdef OSG_USE_EGL
|
||||||
_eglDisplay(0),
|
_eglDisplay(0),
|
||||||
_eglSurface(0),
|
_eglSurface(0),
|
||||||
|
#else
|
||||||
|
_fbConfig(0),
|
||||||
#endif
|
#endif
|
||||||
_currentCursor(0),
|
_currentCursor(0),
|
||||||
_initialized(false),
|
_initialized(false),
|
||||||
@ -177,11 +178,12 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow, pub
|
|||||||
Window _parent;
|
Window _parent;
|
||||||
Window _window;
|
Window _window;
|
||||||
XVisualInfo* _visualInfo;
|
XVisualInfo* _visualInfo;
|
||||||
GLXFBConfig _fbConfig;
|
|
||||||
|
|
||||||
#ifdef OSG_USE_EGL
|
#ifdef OSG_USE_EGL
|
||||||
EGLDisplay _eglDisplay;
|
EGLDisplay _eglDisplay;
|
||||||
EGLSurface _eglSurface;
|
EGLSurface _eglSurface;
|
||||||
|
#else
|
||||||
|
GLXFBConfig _fbConfig;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
Cursor _currentCursor;
|
Cursor _currentCursor;
|
||||||
|
Loading…
Reference in New Issue
Block a user