ds->surface->pf.bmask, ds->surface->pf.amask);
}
-static void do_sdl_resize(int width, int height, int bpp)
+static void do_sdl_resize(int new_width, int new_height, int bpp)
{
int flags;
if (gui_noframe)
flags |= SDL_NOFRAME;
+ width = new_width;
+ height = new_height;
real_screen = SDL_SetVideoMode(width, height, bpp, flags);
if (!real_screen) {
fprintf(stderr, "Could not open SDL display\n");