changeset 31042:91eb3b0b9b7a

Handle SDL expose events with -vo gl.
author reimar
date Sun, 25 Apr 2010 10:34:58 +0000
parents 42b4b532b86a
children 80036ef586ff
files libvo/sdl_common.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;