6/6 WineD3D: CheckDeviceFormat remove dead code

Stefan Dösinger stefan at codeweavers.com
Fri Mar 21 17:03:01 CDT 2008

Am Freitag, 21. März 2008 22:11:48 schrieb Roderick Colenbrander:
> I expect a number of other 'fake' regressions like the one regarding srgb
> writing but those can only become visible after this patch.
Note that we perfectly well support srgb writing on all formats if ARB or GLSL 
pixel shaders are supported. We emulate the srgb correction in the shader

Note that this is not 100% there, if the game is using the fixed function 
fragment pipeline we currently have no ARB or GLSL pixel shader which could 
do the gamma correction. However, many games(like HL2) require srgb 
correction, so we should keep it enabled.

More information about the wine-devel mailing list