[Bug 13101] GLXBadDrawable when antialias ON (Nvidia driver bug?)

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jul 4 03:44:48 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=13101





--- Comment #64 from Roderick Colenbrander <thunderbird2k at gmx.net>  2008-07-04 03:44:48 ---
Let me quickly explain how GLX (opengl for X)/WGL (opengl for windows) work and
how you set up multisampling. Then you will see that it is most likely a driver
bug.

In short GLX/WGL support offer various 'pixel formats' using which OpenGL will
be rendered (this is called an XVisual / GLXFBconfig in case of GLX). A pixel
format defines the number of red/green/blue/alpha bits but things like double
buffering and multisampling are also properties of a pixel format. Each pixel
format offers only a single multisampling format.

When you set up rendering you create a window using the pixel format you want.
In case you want multisampling, you select a format with multisampling and then
it is activated. Before you can render to the window you need to attach it to a
multisampling capable opengl context using wglMakeCurrent/glXMakeCurrent. The
nvidia drivers return GLXBadDrawable. (In case of a pixel format mismatch
GLXBadMatch is returned which isn't the case here)


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list