From 16f85cadc2f69cfd895c652e4b16764312664a6e Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 17 Feb 2017 18:15:11 +0000 Subject: [PATCH] Comment out use of glXCreateWindow --- renderdoc/driver/gl/gl_replay_linux.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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);