mirror of
https://github.com/celisej567/mcpe.git
synced 2025-12-31 17:49:17 +03:00
Disable lighting once, globally
This commit is contained in:
@@ -53,6 +53,7 @@ void NinecraftApp::initGLStates()
|
||||
glCullFace(GL_BACK);
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST);
|
||||
glDisable(GL_LIGHTING);
|
||||
}
|
||||
|
||||
int NinecraftApp::getFpsIntlCounter()
|
||||
|
||||
@@ -539,7 +539,6 @@ void LevelRenderer::render(Mob* pMob, int a, float b)
|
||||
x3 = m_chunksLength;
|
||||
|
||||
glDisable(GL_TEXTURE_2D);
|
||||
glDisable(GL_LIGHTING);
|
||||
glDisable(GL_ALPHA_TEST);
|
||||
glDisable(GL_FOG);
|
||||
glColorMask(false, false, false, false);
|
||||
|
||||
Reference in New Issue
Block a user