mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 12:22:51 +00:00
GRIM: Don't enable lighting if we're drawing the shadow. Fix #294
This commit is contained in:
parent
0fe1735578
commit
e3c85997a2
@ -653,7 +653,9 @@ void GfxOpenGL::translateViewpointFinish() {
|
||||
}
|
||||
|
||||
void GfxOpenGL::enableLights() {
|
||||
glEnable(GL_LIGHTING);
|
||||
if (!isShadowModeActive()) {
|
||||
glEnable(GL_LIGHTING);
|
||||
}
|
||||
}
|
||||
|
||||
void GfxOpenGL::disableLights() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user