Commit 25cd1c4d authored by H. Verbeet's avatar H. Verbeet Committed by Alexandre Julliard

wined3d: gl_FogFragCoord is a scalar.

parent 71a0c6e4
......@@ -1994,7 +1994,7 @@ void vshader_glsl_output_unpack(
break;
case WINED3DDECLUSAGE_FOG:
shader_addline(buffer, "gl_FogFragCoord%s = OUT%u%s;\n", reg_mask, i, reg_mask);
shader_addline(buffer, "gl_FogFragCoord = OUT%u%s;\n", i, reg_mask);
break;
default:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment