[opengl] check drawable and context Visual IDs in wglMakeCurrent()

Tomas Carnecky tom at dbservice.com
Thu Mar 23 12:14:10 CST 2006


Changelog:
 - fail if the drawable and context Visual IDs don't match.

why? because this will produce a BadMatch and crash the application so
instead of the crash rather return GL_FALSE and let the application
handle it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wine-wgl-makecurrent.patch
Type: text/x-patch
Size: 2006 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060323/0e6b36b8/wine-wgl-makecurrent.patch


More information about the wine-patches mailing list