mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Save graphics options
This commit is contained in:
@@ -186,7 +186,7 @@ bool Graphics::selectPainterEngine(PainterEngine painterEngine)
|
||||
#endif
|
||||
|
||||
// switch painters GL state
|
||||
if(painter && painter != g_painter) {
|
||||
if(painter) {
|
||||
if(g_painter)
|
||||
g_painter->unbind();
|
||||
painter->bind();
|
||||
|
Reference in New Issue
Block a user