From 4121ce1747db3ddb7336805aaa7bcfebf7044de5 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 25 Apr 2010 10:34:58 +0000 Subject: [PATCH] Handle SDL expose events with -vo gl. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31084 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sdl_common.c | 2 ++ 1 file changed, 2 insertions(+) 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;