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:
Shredder
2026-04-11 19:39:46 +05:00
parent e1b81a7cc3
commit f19c2d24a3
4 changed files with 10 additions and 5 deletions

View File

@@ -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);