summaryrefslogtreecommitdiff
path: root/src/texteff.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/texteff.cpp')
-rw-r--r--src/texteff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/texteff.cpp b/src/texteff.cpp
index e5c29a4c7..d762c5bb6 100644
--- a/src/texteff.cpp
+++ b/src/texteff.cpp
@@ -11,7 +11,6 @@
#include "landscape.h"
#include "viewport.h"
#include "saveload.h"
-#include "hal.h"
#include "console.h"
#include "string.h"
#include "variables.h"
@@ -20,6 +19,7 @@
#include <stdarg.h> /* va_list */
#include "date.h"
#include "texteff.hpp"
+#include "video/video_driver.hpp"
enum {
MAX_TEXTMESSAGE_LENGTH = 200,
@@ -168,7 +168,7 @@ void UndrawTextMessage()
/* Put our 'shot' back to the screen */
blitter->CopyFromBuffer(blitter->MoveTo(_screen.dst_ptr, x, y), _textmessage_backup, width, height);
/* And make sure it is updated next time */
- _video_driver->make_dirty(x, y, width, height);
+ _video_driver->MakeDirty(x, y, width, height);
_textmessage_dirty = true;
}
@@ -248,7 +248,7 @@ void DrawTextMessage()
}
/* Make sure the data is updated next flush */
- _video_driver->make_dirty(x, y, width, height);
+ _video_driver->MakeDirty(x, y, width, height);
_textmessage_visible = true;
_textmessage_dirty = false;