[MPlayer-dev-eng] [PATCH] vo_gl2.c - glClear every frame in fullscreen mode
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon May 3 18:07:13 CEST 2004
Hi,
> the attached patch modifies vo_gl2.c to perform a glClear(GL_COLOR_BUFFER_BIT)
> for every frame when in fullscreen mode. This seems to be needed because of the
> way glXSwapBuffers works. From the glXSwapBuffers manpage:
>
> The contents of the back buffer become undefined after a swap. Note that this
> applies to pixel buffers as well as windows.
applied something similar.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list