mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-26 16:07:31 +01:00
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* X11Display;
|
||||||
void* X11Context;
|
void* X11Context;
|
||||||
unsigned long X11Window;
|
unsigned long X11Window;
|
||||||
|
unsigned long GLXWindow;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct SOpenGLOSX
|
struct SOpenGLOSX
|
||||||
|
@ -294,7 +294,7 @@ bool CGLXManager::generateSurface()
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
CurrentContext.OpenGLLinux.X11Window=GlxWin;
|
CurrentContext.OpenGLLinux.GLXWindow=GlxWin;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user