prevent window resizing
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1519 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
e5d80f94c5
commit
1ff5c1a68e
1
sdl.c
1
sdl.c
|
@ -53,7 +53,6 @@ static void sdl_resize(DisplayState *ds, int w, int h)
|
||||||
// printf("resizing to %d %d\n", w, h);
|
// printf("resizing to %d %d\n", w, h);
|
||||||
|
|
||||||
flags = SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_HWACCEL;
|
flags = SDL_HWSURFACE|SDL_ASYNCBLIT|SDL_HWACCEL;
|
||||||
flags |= SDL_RESIZABLE;
|
|
||||||
if (gui_fullscreen)
|
if (gui_fullscreen)
|
||||||
flags |= SDL_FULLSCREEN;
|
flags |= SDL_FULLSCREEN;
|
||||||
screen = SDL_SetVideoMode(w, h, 0, flags);
|
screen = SDL_SetVideoMode(w, h, 0, flags);
|
||||||
|
|
Loading…
Reference in a new issue