From 635548482ce911a2deb0f23601f75a141a5de3af Mon Sep 17 00:00:00 2001 From: espes Date: Thu, 4 Feb 2016 03:09:23 +1000 Subject: [PATCH] missing semicolon for radial fog --- hw/xbox/nv2a_shaders.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xbox/nv2a_shaders.c b/hw/xbox/nv2a_shaders.c index be2fcac8fa..ef1e9d3928 100644 --- a/hw/xbox/nv2a_shaders.c +++ b/hw/xbox/nv2a_shaders.c @@ -545,7 +545,7 @@ GLSL_DEFINE(sceneAmbientColor, GLSL_LTCTXA(NV_IGRAPH_XF_LTCTXA_FR_AMB) ".xyz") qstring_append(body, " float fogDistance = clamp(specular.a, 0.0, 1.0);\n"); break; case FOGGEN_RADIAL: - qstring_append(body, " float fogDistance = length(tPosition.xyz)"); + qstring_append(body, " float fogDistance = length(tPosition.xyz);\n"); break; case FOGGEN_PLANAR: case FOGGEN_ABS_PLANAR: