[Scummvm-cvs-logs] scummvm master -> 2dac2599fe222751595b2c99e15ee297432f7704

sev- sev at scummvm.org
Wed Dec 11 19:02:29 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
2dac2599fe FULLPIPE: Clean full screen on each frame as corrected by LordHoto


Commit: 2dac2599fe222751595b2c99e15ee297432f7704
    https://github.com/scummvm/scummvm/commit/2dac2599fe222751595b2c99e15ee297432f7704
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2013-12-11T10:01:27-08:00

Commit Message:
FULLPIPE: Clean full screen on each frame as corrected by LordHoto

Changed paths:
    engines/fullpipe/gfx.cpp
    engines/fullpipe/scene.cpp



diff --git a/engines/fullpipe/gfx.cpp b/engines/fullpipe/gfx.cpp
index a4dbc30..d54f759 100644
--- a/engines/fullpipe/gfx.cpp
+++ b/engines/fullpipe/gfx.cpp
@@ -659,8 +659,8 @@ void Picture::displayPicture() {
 	if (!_dataSize)
 		return;
 
-	g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 799, 599), 0);
-	g_fullpipe->_system->copyRectToScreen(g_fullpipe->_backgroundSurface.getBasePtr(0, 0), g_fullpipe->_backgroundSurface.pitch, 0, 0, 799, 599);
+	g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 800, 600), 0);
+	g_fullpipe->_system->copyRectToScreen(g_fullpipe->_backgroundSurface.getBasePtr(0, 0), g_fullpipe->_backgroundSurface.pitch, 0, 0, 800, 600);
 
 	draw(0, 0, 0, 0);
 
diff --git a/engines/fullpipe/scene.cpp b/engines/fullpipe/scene.cpp
index 099d85e..a5a286c 100644
--- a/engines/fullpipe/scene.cpp
+++ b/engines/fullpipe/scene.cpp
@@ -451,7 +451,7 @@ void Scene::draw() {
 	updateScrolling();
 
 	// Clean previous stuff
-	g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 799, 599), 0);
+	g_fullpipe->_backgroundSurface.fillRect(Common::Rect(0, 0, 800, 600), 0);
 
 	drawContent(60000, 0, true);
 






More information about the Scummvm-git-logs mailing list