WGL: silence an error in ConvertPixelFormatWGLtoGLX

Roderick Colenbrander thunderbird2k at gmx.net
Wed Aug 1 06:35:14 CDT 2007


Hi,

The helper function ConvertPixelFormatWGLtoGLX is used a lot by WGL functions. 
When iPixelFormat=0 is passed to it, it can be good or bad depending on 
whether it is used for enumerating the total number of pixelformats or not.

The functions that use that use ConvertPixelFormatWGLtoGLX will complain when 
something is wrong, so this check can be silenced. It confuses a lot of 
users.

Regards,
Roderick Colenbrander
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Silence-an-error-in-ConvertPixelFormatWGLtoGLX-that.patch
Type: text/x-diff
Size: 1027 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070801/56c7784d/0001-Silence-an-error-in-ConvertPixelFormatWGLtoGLX-that.bin


More information about the wine-patches mailing list