1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-14 10:55:43 +00:00

Handle SDL expose events with -vo gl.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31084 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-04-25 10:34:58 +00:00
parent 63c3c67294
commit 4121ce1747

View File

@ -116,6 +116,8 @@ int sdl_default_handle_event(SDL_Event *event)
vo_dwidth = event->resize.w; vo_dwidth = event->resize.w;
vo_dheight = event->resize.h; vo_dheight = event->resize.h;
return VO_EVENT_RESIZE; return VO_EVENT_RESIZE;
case SDL_VIDEOEXPOSE:
return VO_EVENT_EXPOSE;
case SDL_MOUSEBUTTONDOWN: case SDL_MOUSEBUTTONDOWN:
if(vo_nomouse_input) if(vo_nomouse_input)
break; break;