aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-30 10:17:54 +0000
committerPaul Gilbert2010-06-30 10:17:54 +0000
commit8de571556012eae3cff13b3b86f8554b5ba070b4 (patch)
tree43e6067e8a4352e8b5b903fd12e98f5bf09eb6c7 /engines/m4/graphics.h
parent0c283ed197d839cb81e5957424833700ada1c4ae (diff)
downloadscummvm-rg350-8de571556012eae3cff13b3b86f8554b5ba070b4.tar.gz
scummvm-rg350-8de571556012eae3cff13b3b86f8554b5ba070b4.tar.bz2
scummvm-rg350-8de571556012eae3cff13b3b86f8554b5ba070b4.zip
Removed deprecated destAdjust parameters from the frame drawing code
svn-id: r50524
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r--engines/m4/graphics.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h
index 5e97d4f09b..c2eb11c575 100644
--- a/engines/m4/graphics.h
+++ b/engines/m4/graphics.h
@@ -173,7 +173,7 @@ public:
void frameRect(const Common::Rect &r, uint8 color);
void fillRect(const Common::Rect &r, uint8 color);
void copyFrom(M4Surface *src, const Common::Rect &srcBounds, int destX, int destY, int transparentColour = -1);
- void copyFrom(M4Surface *src, int destX, int destY, Common::Point destAdjust, int depth, M4Surface *depthSurface,
+ void copyFrom(M4Surface *src, int destX, int destY, int depth, M4Surface *depthSurface,
int scale, int transparentColour = -1);
void update() {
@@ -196,7 +196,7 @@ public:
}
inline void copyTo(M4Surface *dest, int destX, int destY, int depth, M4Surface *depthsSurface, int scale,
int transparentColour = -1) {
- dest->copyFrom(this, destX, destY, Common::Point(0, 0), depth, depthsSurface, scale, transparentColour);
+ dest->copyFrom(this, destX, destY, depth, depthsSurface, scale, transparentColour);
}
void scrollX(int xAmount);