forked from mirrors/kolyah35-minecraft-pe-0.6.1
FIX: Completely remove renderSky() codeblock
This commit is contained in:
parent
8d7a1973e7
commit
bc82f5c091
1 changed files with 0 additions and 9 deletions
|
|
@ -272,15 +272,6 @@ void GameRenderer::renderLevel(float a) {
|
||||||
screenScissorArea.w, screenScissorArea.h);
|
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);
|
glEnable2(GL_FOG);
|
||||||
setupFog(1);
|
setupFog(1);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue