forked from Mirrorlandia_minetest/irrlicht
GLX window is *not* an X11 window
This commit is contained in:
parent
264f8b72c1
commit
c4503eaf17
@ -61,6 +61,7 @@ struct SExposedVideoData
|
||||
void* X11Display;
|
||||
void* X11Context;
|
||||
unsigned long X11Window;
|
||||
unsigned long GLXWindow;
|
||||
};
|
||||
|
||||
struct SOpenGLOSX
|
||||
|
@ -294,7 +294,7 @@ bool CGLXManager::generateSurface()
|
||||
return false;
|
||||
}
|
||||
|
||||
CurrentContext.OpenGLLinux.X11Window=GlxWin;
|
||||
CurrentContext.OpenGLLinux.GLXWindow=GlxWin;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user