d3d9/tests [5/5]: Test CheckDeviceFormat returns correctly for
D3DUSAGE_QUERY_SRGBREAD queries
Stefan Dösinger
stefan at codeweavers.com
Wed Jun 6 18:42:49 CDT 2007
Am Donnerstag, 7. Juni 2007 01:16 schrieb Phil Costin:
> Test CheckDeviceFormat returns correctly for D3DUSAGE_QUERY_SRGBREAD
> queries.
This test will fail on any card that doesn't support sRGB at all.
What would be more useful is to find out what assertion hl2 makes, ie if
D3DFMT_X8R8G8B8 is supported, then D3DFMT_L8 and D3DFMT_A8L8 are supported
too. No idea how this really looks like.
Another idea would be to set up a table of formats that are found supported on
some cards, and complain if a format that is known NOT to be supported(like
Q8W8V8U8) is found supported - see the query test for an example.
More information about the wine-devel
mailing list