mirror of
https://github.com/mii443/qemu.git
synced 2025-12-16 17:18:49 +00:00
prevent window resizing
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1519 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
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);
|
||||||
|
|||||||
Reference in New Issue
Block a user