summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xmga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_xmga.c')
-rw-r--r--libvo/vo_xmga.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libvo/vo_xmga.c b/libvo/vo_xmga.c
index a640c0ea5f..790f1ce6f0 100644
--- a/libvo/vo_xmga.c
+++ b/libvo/vo_xmga.c
@@ -161,6 +161,9 @@ static void check_events(void)
}
+static void draw_osd(void)
+{ vo_draw_text(mga_vid_config.src_width,mga_vid_config.src_height,draw_alpha);}
+
static void flip_page(void){
#ifdef SHOW_TIME
unsigned int t;
@@ -170,10 +173,7 @@ static void flip_page(void){
timer=t;
#endif
- vo_draw_text(mga_vid_config.src_width,mga_vid_config.src_height,draw_alpha);
-
- check_events();
- vo_mga_flip_page();
+ vo_mga_flip_page();
}
static uint32_t init( uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format )