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
This commit is contained in:
Filippos Karapetis 2009-03-24 08:33:24 +00:00
parent 76c0d08200
commit 95d92b0d24
2 changed files with 6 additions and 8 deletions

View file

@ -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) {