opengl: Properly use glXQueryDrawable() to get the Visual ID
tom at dbservice.com
Mon May 8 17:38:00 CDT 2006
According to the spec  it's not allowed to use GLX_VISUAL_ID in
glXQueryDrawable(). The only way to get the Visual ID from a GLXDrawable
is to get the GLXFBConfig ID from the drawable and then the Visual ID
from the GLXFBConfig. Although GLX_VISUAL_ID may work, it kind of works
with my proprietary nvidia drivers, it's not guaranteed to yield correct
values and makes debugging hard.
Anything wrong with this patch?
- opengl: Properly use glXQueryDrawable() to get the Visual ID
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1787 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060509/95c01737/wine-fix-glXQueryDrawable.patch
More information about the wine-patches