mirror of
https://github.com/mpv-player/mpv
synced 2024-12-13 18:36:09 +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:
parent
63c3c67294
commit
4121ce1747
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user