aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorDenis Kasak2009-06-22 20:18:53 +0000
committerDenis Kasak2009-06-22 20:18:53 +0000
commit36fd17d499f6357a1b28d6271e87b07557685471 (patch)
tree90aaf04f09ee27d9a83317420c71731dc8163482 /engines
parentf5e39fa61d9a2ca46010c37701bd11547e3aa27f (diff)
downloadscummvm-rg350-36fd17d499f6357a1b28d6271e87b07557685471.tar.gz
scummvm-rg350-36fd17d499f6357a1b28d6271e87b07557685471.tar.bz2
scummvm-rg350-36fd17d499f6357a1b28d6271e87b07557685471.zip
Changed Font::fillScreen() to accept a uint8 instead of a uint16.
svn-id: r41780
Diffstat (limited to 'engines')
-rw-r--r--engines/draci/screen.cpp2
-rw-r--r--engines/draci/screen.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/draci/screen.cpp b/engines/draci/screen.cpp
index 3a5e0e8b58..bc10249332 100644
--- a/engines/draci/screen.cpp
+++ b/engines/draci/screen.cpp
@@ -135,7 +135,7 @@ void Screen::clearScreen() const {
*
* Fills the screen with the specified colour and marks the whole screen dirty.
*/
-void Screen::fillScreen(uint16 colour) const {
+void Screen::fillScreen(uint8 colour) const {
byte *ptr = (byte *)_surface->getBasePtr(0, 0);
_surface->markDirty();
diff --git a/engines/draci/screen.h b/engines/draci/screen.h
index 20fa3553f1..4c09e77926 100644
--- a/engines/draci/screen.h
+++ b/engines/draci/screen.h
@@ -52,7 +52,7 @@ public:
void copyToScreen() const;
void clearScreen() const;
void drawSprite(const Sprite &s) const;
- void fillScreen(uint16 colour) const;
+ void fillScreen(uint8 colour) const;
Surface *getSurface();
void drawRect(Common::Rect &r, uint8 colour);