aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/surface.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-09-06 20:52:15 -0400
committerPaul Gilbert2015-09-06 20:52:15 -0400
commite0ad8a9ef56095df91273b1d27c6511d702546fd (patch)
tree53edcac9fb63d46196a9947052ae05ba66a82517 /engines/sherlock/surface.cpp
parent735bd2c3f7ddce6eefa4dacf396df1180e93373e (diff)
downloadscummvm-rg350-e0ad8a9ef56095df91273b1d27c6511d702546fd.tar.gz
scummvm-rg350-e0ad8a9ef56095df91273b1d27c6511d702546fd.tar.bz2
scummvm-rg350-e0ad8a9ef56095df91273b1d27c6511d702546fd.zip
SHERLOCK: 3DO: Set up RGB color constants for 3DO
Diffstat (limited to 'engines/sherlock/surface.cpp')
-rw-r--r--engines/sherlock/surface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/surface.cpp b/engines/sherlock/surface.cpp
index b56692c704..b8ceae25cb 100644
--- a/engines/sherlock/surface.cpp
+++ b/engines/sherlock/surface.cpp
@@ -201,16 +201,16 @@ void Surface::transBlitFromUnscaled(const Graphics::Surface &src, const Common::
}
}
-void Surface::fillRect(int x1, int y1, int x2, int y2, byte color) {
+void Surface::fillRect(int x1, int y1, int x2, int y2, uint color) {
fillRect(Common::Rect(x1, y1, x2, y2), color);
}
-void Surface::fillRect(const Common::Rect &r, byte color) {
+void Surface::fillRect(const Common::Rect &r, uint color) {
_surface.fillRect(r, color);
addDirtyRect(r);
}
-void Surface::fill(uint16 color) {
+void Surface::fill(uint color) {
_surface.fillRect(Common::Rect(_surface.w, _surface.h), color);
}