Fixed compile issue with Image.cpp and osgautocapture.cpp under GLES.

Fixed handling of EGLDisplay in EGL paths of GraphicsWindowX11
This commit is contained in:
Robert Osfield
2009-11-01 09:04:41 +00:00
parent 519c70ea5f
commit a4639398e8
4 changed files with 19 additions and 18 deletions

View File

@@ -53,7 +53,8 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow
_visualInfo(0),
_context(0),
#ifdef OSG_USE_EGL
_surface(0),
_eglDisplay(0),
_eglSurface(0),
#endif
_currentCursor(0),
_initialized(false),
@@ -204,7 +205,8 @@ class OSGVIEWER_EXPORT GraphicsWindowX11 : public osgViewer::GraphicsWindow
Context _context;
#ifdef OSG_USE_EGL
EGLSurface _surface;
EGLDisplay _eglDisplay;
EGLSurface _eglSurface;
#endif
Cursor _currentCursor;