http://bugs.winehq.org/show_bug.cgi?id=13101
--- Comment #64 from Roderick Colenbrander thunderbird2k@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)