From 2b3ad36791c865482615d9b6e07ac125e52e8eb1 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 20 Jun 2003 23:21:06 +0000 Subject: typo svn-id: r8574 --- backends/sdl/fb2opengl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3