aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrichiesams2013-08-16 10:44:56 -0500
committerrichiesams2013-08-16 10:44:56 -0500
commit26159e6ea52cab35eeba425c066e2faaa0540c2f (patch)
tree939e2b9eb4869b29638ed082c4f646e9ac09f6f9
parente6aa2d15ca75788065012ea64e881277ef4e5565 (diff)
downloadscummvm-rg350-26159e6ea52cab35eeba425c066e2faaa0540c2f.tar.gz
scummvm-rg350-26159e6ea52cab35eeba425c066e2faaa0540c2f.tar.bz2
scummvm-rg350-26159e6ea52cab35eeba425c066e2faaa0540c2f.zip
ZVISION: Only warp the backbuffer if we're in PANORAMA or TILT
-rw-r--r--engines/zvision/render_manager.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index 31b54b4a15..5bc709553b 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -76,7 +76,10 @@ void RenderManager::update(uint deltaTimeInMillis) {
}
// Warp the entire backbuffer
- _renderTable.mutateImage((uint16 *)_backbuffer.getBasePtr(0, 0), _warpedBackbuffer, _workingWidth, _workingHeight);
+ //RenderTable::RenderState state = _renderTable.getRenderState();
+ //if (state == RenderTable::PANORAMA || state == RenderTable::TILT) {
+ // _renderTable.mutateImage((uint16 *)_backbuffer.getBasePtr(0, 0), _warpedBackbuffer, _workingWidth, _workingHeight);
+ //}
// Blit the backbuffer to the screen
_system->copyRectToScreen(_backbuffer.getBasePtr(0, 0), _backbuffer.pitch, _workingWindow.left, _workingWindow.top, _backbuffer.w, _backbuffer.h);