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:12 +02:00
1 parent 2da3264908
commit ffd4c669b7
1 file changed
+2 -11
+2 -11
View File
@@ -5354,17 +5354,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)