(svn r9835) -Codechange: use Pixel typedef instead of byte where ever possible
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user