diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2014-11-11 13:12:02 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2014-12-17 12:44:01 +0100 |
commit | 46522a82236ea0cf9011b89896d2d8f8ddaf2443 (patch) | |
tree | 3534dd753682dcb6db8243b6303fa79c89286ef0 /ui/sdl2-2d.c | |
parent | f1ddebd8651c023409d3505f83416f65ce088961 (diff) |
sdl2: overhaul window size handling
Split do_sdl_resize function (which does alot more than just resizing)
into three: sdl2_window_{create,destroy,resize}.
Fix SDL_Renderer handling: must be guest display size not host window
size, and SDL2 will magically handle all scaling for us.
Make fullscreen actually enter fullscreen mode and simplify the code.
There is no need to store the original window size, the window manager
will do that for us.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'ui/sdl2-2d.c')
0 files changed, 0 insertions, 0 deletions