mirror of
https://github.com/edubart/otclient.git
synced 2025-10-17 04:53:27 +02:00
Minor fixes in lights
This commit is contained in:
@@ -211,7 +211,7 @@ void Painter::updateGlCompositionMode()
|
||||
glBlendFunc(GL_ONE_MINUS_DST_ALPHA, GL_DST_ALPHA);
|
||||
break;
|
||||
case CompositionMode_Light:
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_SRC_COLOR);
|
||||
glBlendFunc(GL_ZERO, GL_SRC_COLOR);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user