diff options
Diffstat (limited to 'libvo/vo_sdl.c')
-rw-r--r-- | libvo/vo_sdl.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libvo/vo_sdl.c b/libvo/vo_sdl.c index 43de288ffb..7b7a0fc754 100644 --- a/libvo/vo_sdl.c +++ b/libvo/vo_sdl.c @@ -1152,9 +1152,15 @@ static void check_events (void) } } +static void draw_osd(void) +{ struct sdl_priv_s *priv = &sdl_priv; + + /* update osd/subtitles */ + vo_draw_text(priv->width,priv->height,draw_alpha); +} /** - * Display the surface we have written our data to and check for events. + * Display the surface we have written our data to * * params : mode == index of the desired fullscreen mode * returns : doesn't return @@ -1164,12 +1170,6 @@ static void flip_page (void) { struct sdl_priv_s *priv = &sdl_priv; - /* update osd/subtitles */ - vo_draw_text(priv->width,priv->height,draw_alpha); - - /* check and react on keypresses and window resizes */ - check_events(); - switch(priv->format) { case IMGFMT_RGB15: case IMGFMT_BGR15: |