aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-27 15:44:26 +0000
committerTorbjörn Andersson2003-09-27 15:44:26 +0000
commitd1df7318557e90dc28409523f19a4dd80bd8c034 (patch)
treeab1c71bb1bd61ffc78b84e981f6a97a88a095b53 /sword2/resman.cpp
parentbac0fab43d7c65fd232ce64174d130c1f4e1fbc1 (diff)
downloadscummvm-rg350-d1df7318557e90dc28409523f19a4dd80bd8c034.tar.gz
scummvm-rg350-d1df7318557e90dc28409523f19a4dd80bd8c034.tar.bz2
scummvm-rg350-d1df7318557e90dc28409523f19a4dd80bd8c034.zip
Removed CopyScreenBuffer() since it was a no-op anyway.
svn-id: r10427
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index 4fcd0d27ea..b46ce60887 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -1218,7 +1218,6 @@ void resMan::CacheNewCluster(uint32 newCluster) {
textSprite.x = textX;
textSprite.y = textY;
- CopyScreenBuffer();
FadeUp((float) 0.75);
WaitForFade();
@@ -1259,7 +1258,6 @@ void resMan::CacheNewCluster(uint32 newCluster) {
textSprite.x = textX;
textSprite.y = textY;
- CopyScreenBuffer();
fr++;
} else
step++;
@@ -1279,7 +1277,6 @@ void resMan::CacheNewCluster(uint32 newCluster) {
FadeDown((float) 0.75);
WaitForFade();
- CopyScreenBuffer();
FadeUp((float) 0.75);
// Git rid of read-only status.
@@ -1436,18 +1433,12 @@ void resMan::GetCd(int cd) {
}
}
- //--------------------------------------------------
- // Service windows
-
ServiceWindows();
- //--------------------------------------------------
-
EraseBackBuffer();
DrawSprite(&spriteInfo); // Keep the message there even when the user task swaps.
spriteInfo.y = oldY; // Drivers change the y co-ordinate, don't know why...
spriteInfo.x = oldX;
- CopyScreenBuffer();
} while (!done);
Free_mem(text_spr);