mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-02 20:18:28 +00:00
wined3d: WINED3DRS_SRGBWRITEENABLE->fragment.
This commit is contained in:
parent
0b67a84b44
commit
9086ed2d2e
1 changed files with 2 additions and 1 deletions
|
@ -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 }},
|
||||
|
|
Loading…
Reference in a new issue