From 95d92b0d244275c768f7b98c2500f7aafaa4e7fd Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Tue, 24 Mar 2009 08:33:24 +0000 Subject: Make sure that the currently buggy dirty rectangle handling code is not used. Also, make sure that the resource data pointer is initialized to zero svn-id: r39655 --- engines/saga/render.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'engines/saga/render.cpp') diff --git a/engines/saga/render.cpp b/engines/saga/render.cpp index d02d772054..85c2573794 100644 --- a/engines/saga/render.cpp +++ b/engines/saga/render.cpp @@ -49,7 +49,7 @@ Render::Render(SagaEngine *vm, OSystem *system) { _vm = vm; _system = system; _initialized = false; - _fullRefresh = false; + _fullRefresh = true; #ifdef SAGA_DEBUG // Initialize FPS timer callback @@ -83,10 +83,6 @@ void Render::drawScene() { int curMode = _vm->_interface->getMode(); assert(_initialized); - // TODO: Remove this to use dirty rectangles - // Still quite buggy - _fullRefresh = true; - #ifdef SAGA_DEBUG _renderedFrameCount++; #endif @@ -206,7 +202,9 @@ void Render::drawScene() { _system->updateScreen(); - _fullRefresh = false; + // TODO: Change this to false to use dirty rectangles + // Still quite buggy + _fullRefresh = true; } void Render::addDirtyRect(Common::Rect rect) { -- cgit v1.2.3