[MPlayer-dev-eng] [PATCH] vo_gl2.c - glClear every frame in fullscreen mode
kinali at gmx.net
Mon Dec 8 10:58:49 CET 2003
On Sun, 16 Nov 2003 19:19:04 +0100
Timo Kanera <timo at kanera.de> wrote:
> 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.
Why does that only matter in fullscreen ?
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
-- reeler in +kaosu
More information about the MPlayer-dev-eng