wined3d: Make use of ps_compile_args in arb shader.

This commit is contained in:
Stefan Dösinger 2008-12-14 15:42:42 +01:00 committed by Alexandre Julliard
parent 30d542c3dd
commit 20189eb4f8
1 changed files with 1 additions and 1 deletions

View File

@ -1919,7 +1919,7 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShader *iface, SHADER_BUF
fragcolor = (shader_version < WINED3DPS_VERSION(2,0)) ? "R0" : "TMP_COLOR";
if(((IWineD3DDeviceImpl *)This->baseShader.device)->stateBlock->renderState[WINED3DRS_SRGBWRITEENABLE]) {
if(args->srgb_correction) {
arbfp_add_sRGB_correction(buffer, fragcolor, "TMP", "TMP2", "TA", "TB");
}
if (shader_version < WINED3DPS_VERSION(3,0))