[MPlayer-cvslog] CVS: main/libvo gl_common.c,1.32,1.33

Oded Shimon ods15 at ods15.dyndns.org
Mon Nov 14 10:29:47 CET 2005


On Mon, Nov 07, 2005 at 10:29:40PM +0100, Reimar Dצffinger CVS wrote:
> CVS change done by Reimar Dצffinger CVS
> 
> Update of /cvsroot/mplayer/main/libvo
> In directory mail:/var2/tmp/cvs-serv15382
> 
> Modified Files:
> 	gl_common.c 
> Log Message:
> do not call glFinish when we do not have a context

> @@ -959,6 +959,7 @@
>  
>    // should only be needed when keeping context, but not doing glFinish
>    // can cause flickering even when we do not keep it.
> +  if (*context)
>    glFinish();
>    new_vinfo = GetPixelFormat(windc);
>    if (*context && *vinfo && new_vinfo && *vinfo == new_vinfo) {

I know it's your code, but could you please de-obfuscate this?...
at the very least indent glFinish, or put it on same line as the 'if'. as 
it is right now, it's purposely misleading...

- ods15




More information about the MPlayer-cvslog mailing list