From a85dca29e9fcfa40392de131b0c260afc4fbe0b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Ko=C5=82odziejski?= Date: Sat, 20 Nov 2021 17:46:01 +0100 Subject: [PATCH] STARK: Enable dirty rects for software renderer --- engines/stark/gfx/tinygl.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engines/stark/gfx/tinygl.cpp b/engines/stark/gfx/tinygl.cpp index 5a5b8da9932..7c459f79785 100644 --- a/engines/stark/gfx/tinygl.cpp +++ b/engines/stark/gfx/tinygl.cpp @@ -53,8 +53,7 @@ void TinyGLDriver::init() { _fb = new TinyGL::FrameBuffer(kOriginalWidth, kOriginalHeight, g_system->getScreenFormat()); TinyGL::glInit(_fb, 512); - //tglEnableDirtyRects(ConfMan.getBool("dirtyrects")); - tglEnableDirtyRects(false); + tglEnableDirtyRects(ConfMan.getBool("dirtyrects")); tglMatrixMode(TGL_PROJECTION); tglLoadIdentity();