[MPlayer-dev-eng] [PATCH] vo_gl2.c - glClear every frame in fullscreen mode
Timo Kanera
timo at kanera.de
Sun Nov 16 19:19:04 CET 2003
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.
so long,
Timo
--
Timo Kanera <timo at kanera.de> . GPG Key-ID: 1024D/30CDB412
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vo_gl2.c.diff
Type: application/octet-stream
Size: 701 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031116/1864f6e9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 184 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20031116/1864f6e9/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list