diff --git a/include/SExposedVideoData.h b/include/SExposedVideoData.h index 35108f00..ba47f1ec 100644 --- a/include/SExposedVideoData.h +++ b/include/SExposedVideoData.h @@ -61,6 +61,7 @@ struct SExposedVideoData void* X11Display; void* X11Context; unsigned long X11Window; + unsigned long GLXWindow; }; struct SOpenGLOSX diff --git a/source/Irrlicht/CGLXManager.cpp b/source/Irrlicht/CGLXManager.cpp index 467b69c2..4778a498 100644 --- a/source/Irrlicht/CGLXManager.cpp +++ b/source/Irrlicht/CGLXManager.cpp @@ -294,7 +294,7 @@ bool CGLXManager::generateSurface() return false; } - CurrentContext.OpenGLLinux.X11Window=GlxWin; + CurrentContext.OpenGLLinux.GLXWindow=GlxWin; } return true; }