Revision 649c9078 sdl.c
b/sdl.c | ||
---|---|---|
86 | 86 |
ds->surface->pf.bmask, ds->surface->pf.amask); |
87 | 87 |
} |
88 | 88 |
|
89 |
static void do_sdl_resize(int width, int height, int bpp)
|
|
89 |
static void do_sdl_resize(int new_width, int new_height, int bpp)
|
|
90 | 90 |
{ |
91 | 91 |
int flags; |
92 | 92 |
|
... | ... | |
98 | 98 |
if (gui_noframe) |
99 | 99 |
flags |= SDL_NOFRAME; |
100 | 100 |
|
101 |
width = new_width; |
|
102 |
height = new_height; |
|
101 | 103 |
real_screen = SDL_SetVideoMode(width, height, bpp, flags); |
102 | 104 |
if (!real_screen) { |
103 | 105 |
fprintf(stderr, "Could not open SDL display\n"); |
Also available in: Unified diff