just dont set shader for this ig

otherwise this breaks when you disable the hud for whatever reason
looks the same so whatever
This commit is contained in:
alufolie91 committed 2026-06-26 19:54:20 +02:00
1 parent 6efe56808a
commit f12d5a246d
1 file changed
+2 -11
+2 -11
View File
@@ -5315,17 +5315,8 @@ static void HWR_DrawSkyTexture(void)
// since sky is drawn as a "flat quad" this way, we have to unset any view transformations for it to work
GL_SetTransform(NULL);
if (HWR_UseShader())
{
GL_SetShader(HWR_GetShaderFromTarget(SHADER_SKY)); // not sure if this is needed?
GL_DrawPolygon(NULL, v, 4, 0);
GL_UnSetShader();
}
else
{
GL_UnSetShader();
GL_DrawPolygon(NULL, v, 4, 0);
}
GL_UnSetShader();
GL_DrawPolygon(NULL, v, 4, 0);
}
static void HWR_DrawSkyBackground(void)