x11 window bug
Posted: Mon Dec 28, 2015 5:40 pm
In TRUNK rev.:5227
CurrentContext.OpenGLLinux.X11Window=GlxWin;
What? Changing the X11 window for the GlxWindow?? That breaks the semantic of that variable. And furthermore, the code that rely on the videoExposedData can't manipulate the X11Window via Xlib.
I didn't had any problem with irr+x11 on the shader pipeline... i will investigate.
Code: Select all
bool CGLXManager::generateSurface()
{
if (glxFBConfig)
{
GlxWin=glXCreateWindow((Display*)CurrentContext.OpenGLLinux.X11Display,(GLXFBConfig)glxFBConfig,CurrentContext.OpenGLLinux.X11Window,NULL);
if (!GlxWin)
{
os::Printer::log("Could not create GLX window.", ELL_WARNING);
return false;
}
CurrentContext.OpenGLLinux.X11Window=GlxWin;
}
return true;
}
What? Changing the X11 window for the GlxWindow?? That breaks the semantic of that variable. And furthermore, the code that rely on the videoExposedData can't manipulate the X11Window via Xlib.
I didn't had any problem with irr+x11 on the shader pipeline... i will investigate.