aboutsummaryrefslogtreecommitdiff
path: root/graphics/surface.h
diff options
context:
space:
mode:
authorRichieSams2013-09-22 15:53:15 -0500
committerRichieSams2013-09-22 15:54:06 -0500
commit701250efb57ef94e35d2b7b6f0d6d045b713e6f5 (patch)
tree09d7cca27b7ecb2b17cfe5f20dbb162062aa43f6 /graphics/surface.h
parent9d1b0e1f8bf991abb8eb0cd484ce5025757e1efe (diff)
downloadscummvm-rg350-701250efb57ef94e35d2b7b6f0d6d045b713e6f5.tar.gz
scummvm-rg350-701250efb57ef94e35d2b7b6f0d6d045b713e6f5.tar.bz2
scummvm-rg350-701250efb57ef94e35d2b7b6f0d6d045b713e6f5.zip
GRAPHICS: Remove variable shadowing
Diffstat (limited to 'graphics/surface.h')
-rw-r--r--graphics/surface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/surface.h b/graphics/surface.h
index 1492e71e68..07e289b0bb 100644
--- a/graphics/surface.h
+++ b/graphics/surface.h
@@ -219,7 +219,7 @@ public:
* @param width The width of the destination rectangle
* @param height The height of the destination rectangle
*/
- void copyRectToSurface(const void *buffer, int pitch, int destX, int destY, int width, int height);
+ void copyRectToSurface(const void *buffer, int srcPitch, int destX, int destY, int width, int height);
/**
* Copies a bitmap to the Surface internal buffer. The pixel format
* of buffer must match the pixel format of the Surface.