[MPlayer-dev-eng] [PATCH] vo_gl2.c - glClear every frame in fullscreen mode

Attila Kinali attila at kinali.ch
Sat Jan 24 11:26:26 CET 2004


On Sun, 16 Nov 2003 19:19:04 +0100
Timo Kanera <timo at kanera.de> wrote:

> 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.

This patch here is sitting here for quite a while now.
Could someone who understands gl better than i give his
ok to apply it ?

			Attila Kinali


-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu




More information about the MPlayer-dev-eng mailing list