src/video/sdl_v.cpp
branchnoai
changeset 9624 b71483f2330f
parent 6574 e1d1a12faaf7
child 6720 35756db7e577
child 7374 54c06f06ecc8
child 9628 b5c2449616b5
--- a/src/video/sdl_v.cpp	Fri May 11 15:13:08 2007 +0000
+++ b/src/video/sdl_v.cpp	Fri May 25 00:25:08 2007 +0000
@@ -195,7 +195,7 @@
 
 	_screen.width = newscreen->w;
 	_screen.height = newscreen->h;
-	_screen.pitch = newscreen->pitch;
+	_screen.pitch = newscreen->pitch / sizeof(Pixel);
 
 	_sdl_screen = newscreen;
 	InitPalette();