Mercurial > mplayer.hg
changeset 26840:ea6c5ea1aa64
Split flip_page function
author | reimar |
---|---|
date | Sun, 25 May 2008 11:06:51 +0000 |
parents | 91f8d353b6d2 |
children | 3822def2c61d |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sat May 24 12:10:08 2008 +0000 +++ b/libvo/vo_gl.c Sun May 25 11:06:51 2008 +0000 @@ -589,9 +589,7 @@ } } -static void -flip_page(void) -{ +static void do_render(void) { // glEnable(GL_TEXTURE_2D); // glBindTexture(GL_TEXTURE_2D, texture_id); @@ -635,7 +633,10 @@ glPopMatrix(); BindTexture(gl_target, 0); } +} +static void flip_page(void) { + do_render(); if (use_glFinish) glFinish(); if (vo_doublebuffering)