mirror of
https://gitlab.com/shinovon/re3-symbian.git
synced 2026-05-22 17:47:20 +03:00
I disabled the lighting. This improved several things. The text that was invisible (black) is now visible and readable. The UI is fixed. A lot of things got better and the performance increase was significant. But obviously… it’s not magic, and there’s still more to do
This commit is contained in:
parent
c3120900b4
commit
52d43468b3
1 changed files with 3 additions and 1 deletions
4
vendor/librw/src/gles1/gl1device.cpp
vendored
4
vendor/librw/src/gles1/gl1device.cpp
vendored
|
|
@ -988,7 +988,9 @@ setLights(WorldLights *lightData)
|
|||
|
||||
out:
|
||||
if(n > 0 || lightData->numAmbients > 0)
|
||||
glEnable(GL_LIGHTING);
|
||||
//pruebo a ver que tal sin luz
|
||||
//glEnable(GL_LIGHTING);
|
||||
glDisable(GL_LIGHTING);
|
||||
else
|
||||
glDisable(GL_LIGHTING);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue