aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2003-04-25 20:03:00 +0000
committerMax Horn2003-04-25 20:03:00 +0000
commit5c93732d6030efbb8f0d9bbf738b87f28dfc1d36 (patch)
tree2be71aca1b4af8dc44196ed0ffd2c3206ab616ae /backends
parent0c933f5c503d0ba20a10250d43b85ee99d8b6468 (diff)
downloadscummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.tar.gz
scummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.tar.bz2
scummvm-rg350-5c93732d6030efbb8f0d9bbf738b87f28dfc1d36.zip
cleanup; added comment
svn-id: r7119
Diffstat (limited to 'backends')
-rw-r--r--backends/sdl/sdl-common.h2
-rw-r--r--backends/sdl/sdl.cpp2
-rw-r--r--backends/sdl/sdl_gl.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/backends/sdl/sdl-common.h b/backends/sdl/sdl-common.h
index e8d54ea3e3..920e396e79 100644
--- a/backends/sdl/sdl-common.h
+++ b/backends/sdl/sdl-common.h
@@ -124,7 +124,7 @@ public:
static OSystem *create(int gfx_mode, bool full_screen);
protected:
- typedef void ScalerProc(uint8 *srcPtr, uint32 srcPitch, uint8 *deltaPtr,
+ typedef void ScalerProc(uint8 *srcPtr, uint32 srcPitch,
uint8 *dstPtr, uint32 dstPitch, int width, int height);
OSystem_SDL_Common();
diff --git a/backends/sdl/sdl.cpp b/backends/sdl/sdl.cpp
index 874ac9b013..bcb8f0bb6e 100644
--- a/backends/sdl/sdl.cpp
+++ b/backends/sdl/sdl.cpp
@@ -312,7 +312,7 @@ void OSystem_SDL::update_screen() {
dst_y *= _scaleFactor;
- _scaler_proc((byte *)_tmpscreen->pixels + (r->x * 2 + 2) + (r->y + 1) * srcPitch, srcPitch, NULL,
+ _scaler_proc((byte *)_tmpscreen->pixels + (r->x * 2 + 2) + (r->y + 1) * srcPitch, srcPitch,
(byte *)_hwscreen->pixels + r->x * 2 * _scaleFactor + dst_y * dstPitch, dstPitch, r->w, dst_h);
}
diff --git a/backends/sdl/sdl_gl.cpp b/backends/sdl/sdl_gl.cpp
index e1ff24d891..9858354004 100644
--- a/backends/sdl/sdl_gl.cpp
+++ b/backends/sdl/sdl_gl.cpp
@@ -437,7 +437,7 @@ void OSystem_SDL_OpenGL::update_screen() {
dst_y *= _scaleFactor;
- _scaler_proc((byte *)_tmpscreen->pixels + (r->x * 2 + 2) + (r->y + 1) * srcPitch, srcPitch, NULL,
+ _scaler_proc((byte *)_tmpscreen->pixels + (r->x * 2 + 2) + (r->y + 1) * srcPitch, srcPitch,
(byte *)_hwscreen->pixels + r->x * 2 * _scaleFactor + dst_y * dstPitch, dstPitch, r->w, dst_h);
}