]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix a typo (Fogcolor should be FogColor)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 13 Mar 2011 07:23:48 +0000 (07:23 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Sun, 13 Mar 2011 18:33:16 +0000 (19:33 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10914 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=05ff6ed87b9b23d29e65511e9371fcb4dce18b50

shader_hlsl.h

index 41aa34e23e71e89ca4e3ff168c26bbcd939741eb..3e7ab43d0d5f8c888a8abf43a182999e03bb5b6c 100644 (file)
 "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"