Opengl32: drop ChoosePixelFormat test

Roderick Colenbrander thunderbird2k at
Wed Apr 30 03:55:34 CDT 2008


The current ChoosePixelFormat test fails on some linux/freebsd display drivers. I tried to fix the test by only testing if the returned pixel format is indeed the first one in the pixel format list. This is the case on Ati and Nvidia their Windows drivers. The Intel Windows drivers don't seem to return the first matching format but a later one (which has depth which the first format didn't have; but we didn't ask for it).

Anyway the test is very fragile and it depends on the display driver, so it is best to remove it.

Roderick Colenbrander
Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Drop-the-ChoosePixelFormat-test-as-it-is-very-unreli.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : 

More information about the wine-patches mailing list