aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-06-20 23:21:06 +0000
committerMax Horn2003-06-20 23:21:06 +0000
commit2b3ad36791c865482615d9b6e07ac125e52e8eb1 (patch)
treeb9d8199664e01024b3e48462eea909e0e07c007a
parent0832c1f662592990c9e8c2e5a6d7e5301e1d541b (diff)
downloadscummvm-rg350-2b3ad36791c865482615d9b6e07ac125e52e8eb1.tar.gz
scummvm-rg350-2b3ad36791c865482615d9b6e07ac125e52e8eb1.tar.bz2
scummvm-rg350-2b3ad36791c865482615d9b6e07ac125e52e8eb1.zip
typo
svn-id: r8574
-rw-r--r--backends/sdl/fb2opengl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sdl/fb2opengl.h b/backends/sdl/fb2opengl.h
index bf54daaffa..904bf7baeb 100644
--- a/backends/sdl/fb2opengl.h
+++ b/backends/sdl/fb2opengl.h
@@ -361,7 +361,7 @@ void FB2GL::update(void *fb, int w, int h, int pitch, int xskip, int yskip) {
// Update 320x256 texture
glBindTexture(GL_TEXTURE_2D, texture1);
glTexSubImage2D(GL_TEXTURE_2D, 0, xskip, yskip,
- 329-xskip, 256-yskip, GL_COLOR_INDEX,
+ 320-xskip, 256-yskip, GL_COLOR_INDEX,
GL_UNSIGNED_BYTE, palettedFrameBuffer1);
}