[Scummvm-git-logs] scummvm master -> a85dca29e9fcfa40392de131b0c260afc4fbe0b5

aquadran noreply at scummvm.org
Sat Nov 20 16:46:05 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
a85dca29e9 STARK: Enable dirty rects for software renderer


Commit: a85dca29e9fcfa40392de131b0c260afc4fbe0b5
    https://github.com/scummvm/scummvm/commit/a85dca29e9fcfa40392de131b0c260afc4fbe0b5
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2021-11-20T17:46:01+01:00

Commit Message:
STARK: Enable dirty rects for software renderer

Changed paths:
    engines/stark/gfx/tinygl.cpp


diff --git a/engines/stark/gfx/tinygl.cpp b/engines/stark/gfx/tinygl.cpp
index 5a5b8da993..7c459f7978 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();




More information about the Scummvm-git-logs mailing list