Comment out use of glXCreateWindow

This commit is contained in:
baldurk committed 2017-02-17 20:16:18 +00:00
1 parent da98e9e58d
commit 16f85cadc2
1 file changed
+6 -1
+6 -1
View File
@@ -181,7 +181,12 @@ uint64_t GLReplay::MakeOutputWindow(WindowingSystem system, void *data, bool dep
}
else
{
wnd = glXCreateWindow(dpy, fbcfg[0], draw, 0);
// on NV and AMD creating this window causes problems rendering to any widgets in Qt, with the
// width/height queries failing to return any values and the framebuffer blitting not working.
// For the moment, we use the passed-in drawable directly as this works in testing on
// renderdoccmd and qrenderdoc
wnd = draw;
// glXCreateWindow(dpy, fbcfg[0], draw, 0);
}
XFree(fbcfg);