diff options
author | Torbjörn Andersson | 2003-09-19 06:42:22 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-19 06:42:22 +0000 |
commit | 5628ee74177ac93436dca6cf14e9860721afc0df (patch) | |
tree | 9e4a866a6797b407b5a4efb092957e0e18224479 /sword2/build_display.cpp | |
parent | 349a7bc39908f4bddd35c8f1605bdfb77f343404 (diff) | |
download | scummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.tar.gz scummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.tar.bz2 scummvm-rg350-5628ee74177ac93436dca6cf14e9860721afc0df.zip |
cleanup
svn-id: r10308
Diffstat (limited to 'sword2/build_display.cpp')
-rw-r--r-- | sword2/build_display.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sword2/build_display.cpp b/sword2/build_display.cpp index 256180f626..770c7d5c5d 100644 --- a/sword2/build_display.cpp +++ b/sword2/build_display.cpp @@ -341,8 +341,7 @@ void DisplayMsg(uint8 *text, int time) { // Chris 15May97 Set_luggage(0); //tw28Aug CloseMenuImmediately(); - EraseBackBuffer(); // for hardware rendering - EraseSoftwareScreenBuffer(); // for software rendering + EraseBackBuffer(); text_spr = MakeTextSprite(text, 640, 187, speech_font_id); @@ -393,8 +392,7 @@ void DisplayMsg(uint8 *text, int time) { // Chris 15May97 while (SVM_timeGetTime() < targetTime) { ServiceWindows(); - EraseBackBuffer(); // for hardware rendering - EraseSoftwareScreenBuffer(); // for software rendering + EraseBackBuffer(); rv = DrawSprite(&spriteInfo); // Keep the message there even when the user task swaps. if (rv) @@ -419,8 +417,7 @@ void RemoveMsg(void) { // Chris 15May97 WaitForFade(); - EraseBackBuffer(); // for hardware rendering - EraseSoftwareScreenBuffer(); // for software rendering + EraseBackBuffer(); CopyScreenBuffer(); // FadeUp((float) 0.75); |