forked from mirrors/kolyah35-minecraft-pe-0.6.1
Fix upper sky cut when using fancy graphics
This commit is contained in:
parent
d6a3e477c1
commit
3a0f4c3647
1 changed files with 1 additions and 1 deletions
|
|
@ -277,7 +277,7 @@ void GameRenderer::renderLevel(float a) {
|
||||||
TIMER_POP_PUSH("sky");
|
TIMER_POP_PUSH("sky");
|
||||||
glFogf(GL_FOG_START, renderDistance * 0.2f);
|
glFogf(GL_FOG_START, renderDistance * 0.2f);
|
||||||
glFogf(GL_FOG_END, renderDistance *0.75);
|
glFogf(GL_FOG_END, renderDistance *0.75);
|
||||||
levelRenderer->renderSky(a);
|
// levelRenderer->renderSky(a); // Removed duplicate call
|
||||||
glFogf(GL_FOG_START, renderDistance * 0.6f);
|
glFogf(GL_FOG_START, renderDistance * 0.6f);
|
||||||
glFogf(GL_FOG_END, renderDistance);
|
glFogf(GL_FOG_END, renderDistance);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue