Mercurial > mplayer.hg
changeset 989:1be1647ebd7d
flip_page gl_fillbox fix.
author | se7encode |
---|---|
date | Mon, 04 Jun 2001 11:27:42 +0000 |
parents | c6f88600d409 |
children | 21475b2da242 |
files | libvo/vo_svga.c |
diffstat | 1 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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); }