[Mesa-dev] [Bug 54080] New: glXQueryDrawable fails with GLXBadDrawable for a Window in direct context

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 26 04:47:20 PDT 2012


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 at lists.freedesktop.org
        ReportedBy: amonakov at 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.


More information about the mesa-dev mailing list