wined3d: Don't use TMP_COLOR unless srgb is enabled.
commit6fe1a5daa5879a516a2fd3e7e6f647c4f45d054f
authorStefan Dösinger <stefan@codeweavers.com>
Thu, 7 May 2009 16:54:20 +0000 (7 18:54 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 May 2009 09:45:18 +0000 (15 11:45 +0200)
tree8306ee3eb41f2c35c35a908258e00ac1239846d8
parentb8aa4e4fc7ca35f05c5a5d7065740612b2f57629
wined3d: Don't use TMP_COLOR unless srgb is enabled.

This was needed unconditionally in the past to apply fog, but since we're
using the ARBfp fog defines it is only needed if an sRGB correction is done
at the end of the shader.
dlls/wined3d/arb_program_shader.c