(svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible

This commit is contained in:
truelight
2007-05-14 15:20:50 +00:00
parent 62fe9c2e42
commit d7b4fb80d0
6 changed files with 15 additions and 15 deletions

View File

@@ -195,7 +195,7 @@ static bool CreateMainSurface(int w, int h)
_screen.width = newscreen->w;
_screen.height = newscreen->h;
_screen.pitch = newscreen->pitch;
_screen.pitch = newscreen->pitch / sizeof(Pixel);
_sdl_screen = newscreen;
InitPalette();