mirror of
https://github.com/mpv-player/mpv
synced 2025-03-31 15:59:34 +00:00
Split flip_page function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26872 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6701227e16
commit
e1f2c361a3
@ -589,9 +589,7 @@ static void draw_osd(void)
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
flip_page(void)
|
||||
{
|
||||
static void do_render(void) {
|
||||
// glEnable(GL_TEXTURE_2D);
|
||||
// glBindTexture(GL_TEXTURE_2D, texture_id);
|
||||
|
||||
@ -635,7 +633,10 @@ flip_page(void)
|
||||
glPopMatrix();
|
||||
BindTexture(gl_target, 0);
|
||||
}
|
||||
}
|
||||
|
||||
static void flip_page(void) {
|
||||
do_render();
|
||||
if (use_glFinish)
|
||||
glFinish();
|
||||
if (vo_doublebuffering)
|
||||
|
Loading…
Reference in New Issue
Block a user