aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/sdl_common.h
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@mplayer2.org>2011-09-29 22:38:16 +0200
committerGravatar Uoti Urpala <uau@mplayer2.org>2011-10-24 06:18:29 +0300
commitf045abb4c06c66dd7ee751d4f4c0de40cf1bc810 (patch)
tree80c7d102c9ae42fd5535874c391c58a7e6ab1f03 /libvo/sdl_common.h
parentbb8781a00a590412926f240fd0731a25127eb046 (diff)
vo_gl/sdl: use desktop resolution for fullscreen mode
Before the SDL code would change screen resolution when switching to fullscreen. Try to keep existing desktop resolution instead.
Diffstat (limited to 'libvo/sdl_common.h')
-rw-r--r--libvo/sdl_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/sdl_common.h b/libvo/sdl_common.h
index cc9ec60e21..a1a5311bfc 100644
--- a/libvo/sdl_common.h
+++ b/libvo/sdl_common.h
@@ -30,6 +30,7 @@
int vo_sdl_init(void);
void vo_sdl_uninit(void);
+void sdl_update_xinerama_info(void);
void vo_sdl_fullscreen(void);
int sdl_set_mode(int bpp, uint32_t flags);
int sdl_default_handle_event(SDL_Event *event);