diff --git a/src/common/rendering/hwrenderer/data/hw_skydome.cpp b/src/common/rendering/hwrenderer/data/hw_skydome.cpp index cd8807b134..3c2b903fd9 100644 --- a/src/common/rendering/hwrenderer/data/hw_skydome.cpp +++ b/src/common/rendering/hwrenderer/data/hw_skydome.cpp @@ -178,6 +178,8 @@ void FSkyVertexBuffer::SkyVertexDoom(int r, int c, bool zflip) vert.y = z - 1.f; vert.z = pos.Y; + vert.lindex = -1; + mVertices.Push(vert); } @@ -210,6 +212,8 @@ void FSkyVertexBuffer::SkyVertexBuild(int r, int c, bool zflip) vert.y = z - 1.f; vert.z = pos.Y; + vert.lindex = -1; + mVertices.Push(vert); }