From 42dd4653e3dda6681edb2511c58b336ea695e54b Mon Sep 17 00:00:00 2001 From: Jason Green Date: Fri, 9 Jun 2006 18:34:04 -0400 Subject: [PATCH] wined3d: Change fog output variable name for GLSL shaders. --- 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 b2011b6bcae..6d1b10626ac 100644 --- a/dlls/wined3d/glsl_shader.c +++ b/dlls/wined3d/glsl_shader.c @@ -161,7 +161,7 @@ void shader_glsl_get_register_name( SHADER_OPCODE_ARG* arg) { /* oPos, oFog and oPts in D3D */ - const char* hwrastout_reg_names[] = { "gl_Position", "gl_FogCoord", "gl_PointSize" }; + const char* hwrastout_reg_names[] = { "gl_Position", "gl_FogFragCoord", "gl_PointSize" }; DWORD reg = param & D3DSP_REGNUM_MASK; DWORD regtype = shader_get_regtype(param);