STARK: Enable dirty rects for software renderer

This commit is contained in:
Paweł Kołodziejski 2021-11-20 17:46:01 +01:00
parent 161be1deea
commit a85dca29e9
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

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