diff --git a/renderdoc/driver/gl/gl_replay_linux.cpp b/renderdoc/driver/gl/gl_replay_linux.cpp index e8073e443..8cb6d1a6f 100644 --- a/renderdoc/driver/gl/gl_replay_linux.cpp +++ b/renderdoc/driver/gl/gl_replay_linux.cpp @@ -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);