aboutsummaryrefslogtreecommitdiff
path: root/sword2/resman.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-19 06:42:22 +0000
committerTorbjörn Andersson2003-09-19 06:42:22 +0000
commit5628ee74177ac93436dca6cf14e9860721afc0df (patch)
tree9e4a866a6797b407b5a4efb092957e0e18224479 /sword2/resman.cpp
parent349a7bc39908f4bddd35c8f1605bdfb77f343404 (diff)
downloadscummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.tar.gz
scummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.tar.bz2
scummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.zip
cleanup
svn-id: r10308
Diffstat (limited to 'sword2/resman.cpp')
-rw-r--r--sword2/resman.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/sword2/resman.cpp b/sword2/resman.cpp
index ce8f723660..d832c7bbdf 100644
--- a/sword2/resman.cpp
+++ b/sword2/resman.cpp
@@ -1298,8 +1298,7 @@ void resMan::CacheNewCluster(uint32 newCluster) {
outFile.close();
Free_mem(text_spr);
- EraseBackBuffer(); // for hardware rendering
- EraseSoftwareScreenBuffer(); // for software rendering
+ EraseBackBuffer();
FadeDown((float) 0.75);
WaitForFade();
@@ -1469,8 +1468,7 @@ void resMan::GetCd(int cd) {
//--------------------------------------------------
- EraseBackBuffer(); // for hardware rendering
- EraseSoftwareScreenBuffer(); // for software rendering
+ 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;