https://bugs.freedesktop.org/show_bug.cgi?id=54080
Bug #: 54080 Summary: glXQueryDrawable fails with GLXBadDrawable for a Window in direct context Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: GLX AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: amona...@gmail.com Created attachment 66133 --> https://bugs.freedesktop.org/attachment.cgi?id=66133 glxgears.c demonstrating the described problem Calling glXMakeCurrent(dpy, win, ctx) where win is a Window (not a GLXWindow) and then calling glXQueryDrawable(dpy, glXGetCurrentDrawable(), GLX_WIDTH, &tmp) fails with GLXBadDrawable. It works with Nvidia libGL or with LIBGL_ALWAYS_INDIRECT. Attaching a glxgears.c with glXQueryDrawable added after glXMakeCurrent. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev