diff --git a/src/common/rendering/gles/gles_renderstate.cpp b/src/common/rendering/gles/gles_renderstate.cpp index 4eec6c2f0..37492ab88 100644 --- a/src/common/rendering/gles/gles_renderstate.cpp +++ b/src/common/rendering/gles/gles_renderstate.cpp @@ -139,6 +139,7 @@ bool FGLRenderState::ApplyShader() flavour.hasSpotLight = true; break; } + findSpotsPtr += LIGHT_VEC4_NUM * 4; } }