Save graphics options

This commit is contained in:
Eduardo Bart
2012-07-05 15:49:10 -03:00
parent 6bce0bd680
commit 8cc14c2d2d
4 changed files with 86 additions and 61 deletions

View File

@@ -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();