[vlc-commits] Removed outdated comment (opengl).
Laurent Aimar
git at videolan.org
Thu Dec 20 22:49:55 CET 2012
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Dec 20 21:33:22 2012 +0100| [87f20f41981f1966604712c1f505f39f01a062bf] | committer: Laurent Aimar
Removed outdated comment (opengl).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87f20f41981f1966604712c1f505f39f01a062bf
---
modules/video_output/opengl.c | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 0be0bf1..1ab7b7d 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -659,22 +659,6 @@ error:
int vout_display_opengl_Prepare(vout_display_opengl_t *vgl,
picture_t *picture, subpicture_t *subpicture)
{
- /* On Win32/GLX, we do this the usual way:
- + Fill the buffer with new content,
- + Reload the texture,
- + Use the texture.
-
- On OS X with VRAM or AGP texturing, the order has to be:
- + Reload the texture,
- + Fill the buffer with new content,
- + Use the texture.
-
- (Thanks to gcc from the Arstechnica forums for the tip)
-
- Therefore on OSX, we have to use two buffers and textures and use a
- lock(/unlock) managed picture pool.
- */
-
if (vlc_gl_Lock(vgl->gl))
return VLC_EGENERIC;
More information about the vlc-commits
mailing list