From 7b63c81acc1718d4694dc3d839753c4cf5f5c751 Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 13 Mar 2011 07:39:13 +0000 Subject: [PATCH] fix an HLSL warning git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10915 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 3e7ab43d..2125d0b6 100644 --- a/shader_hlsl.h +++ b/shader_hlsl.h @@ -1450,7 +1450,7 @@ "#endif\n" "\n" "#ifdef USEFOG\n" -" color.rgb = FogVertex(color, FogColor, EyeVectorModelSpaceFogPlaneVertexDist.xyz, EyeVectorModelSpaceFogPlaneVertexDist.w, FogRangeRecip, FogPlaneViewDist, FogHeightFade, Texture_FogMask, Texture_FogHeightTexture);\n" +" color.rgb = half3(FogVertex(color, FogColor, EyeVectorModelSpaceFogPlaneVertexDist.xyz, EyeVectorModelSpaceFogPlaneVertexDist.w, FogRangeRecip, FogPlaneViewDist, FogHeightFade, Texture_FogMask, Texture_FogHeightTexture));\n" "#endif\n" "\n" " // reflection must come last because it already contains exactly the correct fog (the reflection render preserves camera distance from the plane, it only flips the side) and ContrastBoost/SceneBrightness\n" -- 2.39.2