forked from Kolyah35/minecraft-pe-0.6.1
Attempt to fix Normal Shading on Android and fix IOS compile, also hopefully fixes the millions of errors in the ios logs
This commit is contained in:
@@ -14,6 +14,7 @@ void Lighting::turnOn(Minecraft* minecraft) {
|
||||
turnOff();
|
||||
return;
|
||||
}
|
||||
glEnable(GL_NORMALIZE);
|
||||
// if normal lighting is true then enable GLES/OpenGL states to setup lighting
|
||||
glEnable(GL_LIGHTING);
|
||||
glEnable(GL_LIGHT0);
|
||||
|
||||
Reference in New Issue
Block a user