Mercurial > mplayer.hg
changeset 25114:bed4188998ca
Move the setCurrentTexture call into flip_page(), fix osd flicker problem.
author | ulion |
---|---|
date | Fri, 23 Nov 2007 04:49:10 +0000 |
parents | bbe4c6e032ae |
children | 5a0da5dcadd3 |
files | libvo/vo_macosx.m |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_macosx.m Thu Nov 22 23:08:35 2007 +0000 +++ b/libvo/vo_macosx.m Fri Nov 23 04:49:10 2007 +0000 @@ -180,13 +180,14 @@ { if(shared_buffer) [mplayerosxProxy render]; - else + else { + [mpGLView setCurrentTexture]; [mpGLView render]; + } } static int draw_slice(uint8_t *src[], int stride[], int w,int h,int x,int y) { - [mpGLView setCurrentTexture]; return 0; } @@ -205,9 +206,6 @@ break; } - if(!shared_buffer) - [mpGLView setCurrentTexture]; - return 0; }