mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Comment out use of glXCreateWindow
This commit is contained in:
@@ -181,7 +181,12 @@ uint64_t GLReplay::MakeOutputWindow(WindowingSystem system, void *data, bool dep
|
|||||||
}
|
}
|
||||||
else
|
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);
|
XFree(fbcfg);
|
||||||
|
|||||||
Reference in New Issue
Block a user