# HG changeset patch # User se7encode # Date 991654062 0 # Node ID 1be1647ebd7dd38bc38e9d329756183cf5f49886 # Parent c6f88600d409082888f201a509297fa881a79cca flip_page gl_fillbox fix. diff -r c6f88600d409 -r 1be1647ebd7d libvo/vo_svga.c --- a/libvo/vo_svga.c Mon Jun 04 09:38:18 2001 +0000 +++ b/libvo/vo_svga.c Mon Jun 04 11:27:42 2001 +0000 @@ -511,10 +511,12 @@ if (y_pos) { gl_fillbox(0, 0, WIDTH, y_pos, 0); gl_fillbox(0, HEIGHT - y_pos, WIDTH, y_pos, 0); - } else { - gl_fillbox(0, 0, x_pos, HEIGHT, 0); - gl_fillbox(WIDTH - x_pos, 0, x_pos, HEIGHT, 0); - } + } + if (x_pos) { + gl_fillbox(0, 0, x_pos, HEIGHT, 0); + gl_fillbox(WIDTH - x_pos, 0, x_pos, HEIGHT, 0); + } + vo_draw_text(WIDTH, HEIGHT, draw_alpha); gl_copyscreen(screen); }