aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/surface.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2013-08-03 02:38:33 +0200
committerJohannes Schickel2013-08-03 04:02:50 +0200
commitf8ffe816d600a83cacc0063f0ef69d18325f1cdf (patch)
tree878690806c7913c008765b4a20958f415ca4b71d /engines/draci/surface.cpp
parent3fbc497e1c7fddc543aabf5886ccf364a3416efc (diff)
downloadscummvm-rg350-f8ffe816d600a83cacc0063f0ef69d18325f1cdf.tar.gz
scummvm-rg350-f8ffe816d600a83cacc0063f0ef69d18325f1cdf.tar.bz2
scummvm-rg350-f8ffe816d600a83cacc0063f0ef69d18325f1cdf.zip
DRACI: Take advantage of Surface::getPixels.
Diffstat (limited to 'engines/draci/surface.cpp')
-rw-r--r--engines/draci/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/draci/surface.cpp b/engines/draci/surface.cpp
index 8380f8777b..3676c6edac 100644
--- a/engines/draci/surface.cpp
+++ b/engines/draci/surface.cpp
@@ -80,7 +80,7 @@ void Surface::markClean() {
* @brief Fills the surface with the specified color
*/
void Surface::fill(uint color) {
- byte *ptr = (byte *)getBasePtr(0, 0);
+ byte *ptr = (byte *)getPixels();
memset(ptr, color, w * h);
}