]> git.lizzy.rs Git - irrlicht.git/commitdiff
GLX window is *not* an X11 window
authornumzero <numzer0@yandex.ru>
Wed, 13 Jan 2021 23:28:12 +0000 (02:28 +0300)
committersfan5 <sfan5@live.de>
Thu, 25 Feb 2021 18:07:58 +0000 (19:07 +0100)
include/SExposedVideoData.h
source/Irrlicht/CGLXManager.cpp

index 35108f003c2895deb6a3620876f87d58544adc0f..ba47f1eccd665e9368ae89072298d77a41e5cf54 100644 (file)
@@ -61,6 +61,7 @@ struct SExposedVideoData
                void* X11Display;\r
                void* X11Context;\r
                unsigned long X11Window;\r
+               unsigned long GLXWindow;\r
        };\r
 \r
     struct SOpenGLOSX\r
index 467b69c2e5b32c9c5803f44bec0e47f195052aa2..4778a498aaa006794f0217b7d8a53b71cb39c74e 100644 (file)
@@ -294,7 +294,7 @@ bool CGLXManager::generateSurface()
                        return false;\r
                }\r
 \r
-               CurrentContext.OpenGLLinux.X11Window=GlxWin;\r
+               CurrentContext.OpenGLLinux.GLXWindow=GlxWin;\r
        }\r
        return true;\r
 }\r