# HG changeset patch # User reimar # Date 1272191698 0 # Node ID 91eb3b0b9b7ab29df535b372751725e051f21c19 # Parent 42b4b532b86a144e3baedd12932339e1439648ef Handle SDL expose events with -vo gl. diff -r 42b4b532b86a -r 91eb3b0b9b7a libvo/sdl_common.c --- a/libvo/sdl_common.c Sun Apr 25 10:12:39 2010 +0000 +++ b/libvo/sdl_common.c Sun Apr 25 10:34:58 2010 +0000 @@ -116,6 +116,8 @@ 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;