From 05ff6ed87b9b23d29e65511e9371fcb4dce18b50 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 13 Mar 2011 07:23:48 +0000 Subject: [PATCH] fix a typo (Fogcolor should be FogColor) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10914 d7cf8633-e32d-0410-b094-e92efae38249 --- shader_hlsl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shader_hlsl.h b/shader_hlsl.h index 41aa34e2..3e7ab43d 100644 --- a/shader_hlsl.h +++ b/shader_hlsl.h @@ -475,7 +475,7 @@ "float3 FogVertex(float4 surfacecolor, float3 FogColor, float3 EyeVectorModelSpace, float FogPlaneVertexDist, float FogRangeRecip, float FogPlaneViewDist, float FogHeightFade, sampler Texture_FogMask, sampler Texture_FogHeightTexture)\n" "{\n" " float fogfrac;\n" -" float3 fc = Fogcolor;\n" +" float3 fc = FogColor;\n" "#ifdef USEFOGALPHAHACK\n" " fc *= surfacecolor.a;\n" "#endif\n" -- 2.39.2