[PATCH] WineD3D: WINED3DRS_SRGBWRITEENABLE->fragment=0A=
Stefan Doesinger
stefan at codeweavers.com
Wed Jul 2 22:07:10 CDT 2008
=0A=
Due to the emulated nature this links to the pshader stuff=0A=
---=0A=
dlls/wined3d/state.c | 3 ++-=0A=
1 files changed, 2 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c=0A=
index ede92d6..47905cb 100644=0A=
--- a/dlls/wined3d/state.c=0A=
+++ b/dlls/wined3d/state.c=0A=
@@ -4018,7 +4018,7 @@ const struct StateEntry FFPStateTable[] =3D=0A=
{ /*191, WINED3DRS_COLORWRITEENABLE2 */ =
STATE_RENDER(WINED3DRS_COLORWRITEENABLE), state_colorwrite =
},=0A=
{ /*192, WINED3DRS_COLORWRITEENABLE3 */ =
STATE_RENDER(WINED3DRS_COLORWRITEENABLE), state_colorwrite =
},=0A=
{ /*193, WINED3DRS_BLENDFACTOR */ =
STATE_RENDER(WINED3DRS_BLENDFACTOR), state_blendfactor =
},=0A=
- { /*194, WINED3DRS_SRGBWRITEENABLE */ =
STATE_PIXELSHADER, pixelshader =
},=0A=
+ { /*194, WINED3DRS_SRGBWRITEENABLE */ =
STATE_PIXELSHADER, NULL =
},=0A=
{ /*195, WINED3DRS_DEPTHBIAS */ =
STATE_RENDER(WINED3DRS_DEPTHBIAS), state_depthbias =
},=0A=
{ /*196, undefined */ 0, =
state_undefined },=0A=
{ /*197, undefined */ 0, =
state_undefined },=0A=
@@ -5450,6 +5450,7 @@ const struct StateEntryTemplate =
ffp_fragmentstate_template[] =3D {=0A=
{ STATE_TEXTURESTAGE(7, WINED3DTSS_RESULTARG), { =
STATE_TEXTURESTAGE(7, WINED3DTSS_COLOROP), tex_colorop =
}},=0A=
{ STATE_TEXTURESTAGE(7, WINED3DTSS_CONSTANT), { 0 /* As =
long as we don't support D3DTA_CONSTANT */, state_nogl }},=0A=
{ STATE_PIXELSHADER, { =
STATE_PIXELSHADER, pixelshader =
}},=0A=
+ { STATE_RENDER(WINED3DRS_SRGBWRITEENABLE), { =
STATE_PIXELSHADER, pixelshader =
}},=0A=
{ STATE_RENDER(WINED3DRS_BORDERCOLOR), { =
STATE_RENDER(WINED3DRS_BORDERCOLOR), state_bordercolor =
}},=0A=
{ STATE_RENDER(WINED3DRS_TEXTUREFACTOR), { =
STATE_RENDER(WINED3DRS_TEXTUREFACTOR), state_texfactor =
}},=0A=
{0 /* Terminate */, { 0, =
0 }},=0A=
-- =0A=
1.5.4.5=0A=
=0A=
------=_NextPart_000_0009_01C8E1AF.B1CC6CF0--
More information about the wine-patches
mailing list