mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-17 09:39:19 +00:00
Comment out use of glXCreateWindow
This commit is contained in:
1 parent
da98e9e58d
commit
16f85cadc2
1 file changed
+6
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user