FIX: Completely remove renderSky() codeblock

This commit is contained in:
Kolyah35
2026-04-15 01:06:48 +03:00
parent 8d7a1973e7
commit bc82f5c091

View File

@@ -272,15 +272,6 @@ void GameRenderer::renderLevel(float a) {
screenScissorArea.w, screenScissorArea.h);
}
if(mc->options.getBooleanValue(OPTIONS_FANCY_GRAPHICS)) {
setupFog(-1);
TIMER_POP_PUSH("sky");
glFogf(GL_FOG_START, renderDistance * 0.2f);
glFogf(GL_FOG_END, renderDistance *0.75);
// levelRenderer->renderSky(a); // Removed duplicate call
glFogf(GL_FOG_START, renderDistance * 0.6f);
glFogf(GL_FOG_END, renderDistance);
}
glEnable2(GL_FOG);
setupFog(1);