From 25cd1c4d2828e144de84b9f5d106bac8b0a8cede Mon Sep 17 00:00:00 2001 From: "H. Verbeet" Date: Fri, 2 Mar 2007 14:58:50 +0100 Subject: [PATCH] wined3d: gl_FogFragCoord is a scalar. --- dlls/wined3d/glsl_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c index 64deb4de38..af038b59e7 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -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: