Stefan Dösinger : wined3d: WINED3DRS_SRGBWRITEENABLE-> fragment.
Alexandre Julliard
julliard at winehq.org
Thu Jul 10 08:58:34 CDT 2008
Module: wine
Branch: master
Commit: 9086ed2d2ec0392e460793a2527f5c09e921651b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9086ed2d2ec0392e460793a2527f5c09e921651b
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Jul 2 22:07:10 2008 -0500
wined3d: WINED3DRS_SRGBWRITEENABLE->fragment.
---
dlls/wined3d/state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index ede92d6..47905cb 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -4018,7 +4018,7 @@ const struct StateEntry FFPStateTable[] =
{ /*191, WINED3DRS_COLORWRITEENABLE2 */ STATE_RENDER(WINED3DRS_COLORWRITEENABLE), state_colorwrite },
{ /*192, WINED3DRS_COLORWRITEENABLE3 */ STATE_RENDER(WINED3DRS_COLORWRITEENABLE), state_colorwrite },
{ /*193, WINED3DRS_BLENDFACTOR */ STATE_RENDER(WINED3DRS_BLENDFACTOR), state_blendfactor },
- { /*194, WINED3DRS_SRGBWRITEENABLE */ STATE_PIXELSHADER, pixelshader },
+ { /*194, WINED3DRS_SRGBWRITEENABLE */ STATE_PIXELSHADER, NULL },
{ /*195, WINED3DRS_DEPTHBIAS */ STATE_RENDER(WINED3DRS_DEPTHBIAS), state_depthbias },
{ /*196, undefined */ 0, state_undefined },
{ /*197, undefined */ 0, state_undefined },
@@ -5450,6 +5450,7 @@ const struct StateEntryTemplate ffp_fragmentstate_template[] = {
{ STATE_TEXTURESTAGE(7, WINED3DTSS_RESULTARG), { STATE_TEXTURESTAGE(7, WINED3DTSS_COLOROP), tex_colorop }},
{ STATE_TEXTURESTAGE(7, WINED3DTSS_CONSTANT), { 0 /* As long as we don't support D3DTA_CONSTANT */, state_nogl }},
{ STATE_PIXELSHADER, { STATE_PIXELSHADER, pixelshader }},
+ { STATE_RENDER(WINED3DRS_SRGBWRITEENABLE), { STATE_PIXELSHADER, pixelshader }},
{ STATE_RENDER(WINED3DRS_BORDERCOLOR), { STATE_RENDER(WINED3DRS_BORDERCOLOR), state_bordercolor }},
{ STATE_RENDER(WINED3DRS_TEXTUREFACTOR), { STATE_RENDER(WINED3DRS_TEXTUREFACTOR), state_texfactor }},
{0 /* Terminate */, { 0, 0 }},
More information about the wine-cvs
mailing list