wined3d: Fix srgb correction.

This commit is contained in:
Stefan Dösinger 2009-05-07 19:09:52 +02:00 committed by Alexandre Julliard
parent e6cc81d287
commit bffb89101f
1 changed files with 1 additions and 1 deletions

View File

@ -1954,7 +1954,7 @@ static GLuint shader_arb_generate_pshader(IWineD3DPixelShader *iface,
if(args->srgb_correction) {
arbfp_add_sRGB_correction(buffer, fragcolor, "TA", "TB", "TC");
shader_addline(buffer, "MOV result.color, %s;\n", fragcolor);
shader_addline(buffer, "MOV result.color.a, %s;\n", fragcolor);
} else if(reg_maps->shader_version.major < 2) {
shader_addline(buffer, "MOV result.color, %s;\n", fragcolor);
}