fix gl skydome "cap"

so turns out the texture coords for the dome cap were never initialized at all, which is what caused the weird "stretchy & stripey" effect at times
just init it to the sky textures middle
This commit is contained in:
alufolie91 committed 2026-11-19 14:04:12 +01:00
1 parent 331d593008
commit 10e4151ecf
1 file changed
+5
+5
View File
@@ -5681,6 +5681,11 @@ static void HWR_SkyDomeVertex(gl_sky_t *sky, gl_skyvertex_t *vbo, int r, int c,
else
vbo->v = 1.0f + ((float)(sky->rows - r) / (float)sky->rows) + 0.5f;
}
else
{
vbo->u = 0.5f / sky->width;
vbo->v = 0.5f / sky->height;
}
if (r != 4)
{