From 26159e6ea52cab35eeba425c066e2faaa0540c2f Mon Sep 17 00:00:00 2001 From: richiesams Date: Fri, 16 Aug 2013 10:44:56 -0500 Subject: ZVISION: Only warp the backbuffer if we're in PANORAMA or TILT --- engines/zvision/render_manager.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines') 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); -- cgit v1.2.3