[WINED3D] Fix and clean up shader capabilities detection code

Phil Costin philcostin at hotmail.com
Fri Apr 28 16:56:54 CDT 2006


This patch fixes a small bug introduced by my earlier patch entitled "Add
check for GL Shading Language 100 Extension". Vertex shaders should have
been set to version 1.1 for software mode, rather than disabled.

Additionally, it adds the correct TRACE target "TRACE_(d3d_caps)" and cleans
up and improves the readability of the shader version detection code.

Requires patch: "[WINED3D] Add check for GL Shading Language 100 Extension"

Files patched: dlls/wined3d/directx.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shader-detection-cleanup.diff
Type: text/x-diff
Size: 4637 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060428/eb0259a4/shader-detection-cleanup.diff


More information about the wine-patches mailing list