diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-25 10:34:58 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-04-25 10:34:58 +0000 |
commit | 4121ce1747db3ddb7336805aaa7bcfebf7044de5 (patch) | |
tree | 7c9216af5be8f6094b4c78984c7ade5dcd19fac9 /libvo/sdl_common.c | |
parent | 63c3c67294f6ab9b1d7644c15557975c7eb030f4 (diff) | |
download | mpv-4121ce1747db3ddb7336805aaa7bcfebf7044de5.tar.bz2 mpv-4121ce1747db3ddb7336805aaa7bcfebf7044de5.tar.xz |
Handle SDL expose events with -vo gl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31084 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/sdl_common.c')
-rw-r--r-- | libvo/sdl_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/sdl_common.c b/libvo/sdl_common.c index 3f5c85e2e8..0c8f880044 100644 --- a/libvo/sdl_common.c +++ b/libvo/sdl_common.c @@ -116,6 +116,8 @@ int sdl_default_handle_event(SDL_Event *event) vo_dwidth = event->resize.w; vo_dheight = event->resize.h; return VO_EVENT_RESIZE; + case SDL_VIDEOEXPOSE: + return VO_EVENT_EXPOSE; case SDL_MOUSEBUTTONDOWN: if(vo_nomouse_input) break; |