mirror of
https://github.com/edubart/otclient.git
synced 2025-12-20 23:47:12 +01:00
cache rendering of UILabel
This commit is contained in:
@@ -131,8 +131,8 @@ void Painter::setCompositionMode(Painter::CompositionMode compositionMode)
|
||||
case CompositionMode_Multiply:
|
||||
glBlendFunc(GL_DST_COLOR, GL_ONE_MINUS_SRC_ALPHA);
|
||||
break;
|
||||
case CompositionMode_Addition:
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE);
|
||||
case CompositionMode_Add:
|
||||
glBlendFunc(GL_ONE, GL_ONE);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user