[vlc-commits] vout/opengl: ugly temporary work-around to get this compiling for OpenGL ES

Felix Paul Kühne git at videolan.org
Sat Jun 30 15:20:48 CEST 2012


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat Jun 30 15:20:44 2012 +0200| [2d338c4b874735158e6d0aea9eb2d440baaca553] | committer: Felix Paul Kühne

vout/opengl: ugly temporary work-around to get this compiling for OpenGL ES

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d338c4b874735158e6d0aea9eb2d440baaca553
---

 modules/video_output/opengl.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
index 53ef4f8..51005bf 100644
--- a/modules/video_output/opengl.c
+++ b/modules/video_output/opengl.c
@@ -72,6 +72,9 @@
 #   define PFNGLATTACHSHADERPROC             typeof(glAttachShader)*
 #   define PFNGLACTIVETEXTUREPROC            typeof(glActiveTexture)*
 #   define PFNGLCLIENTACTIVETEXTUREPROC      typeof(glClientActiveTexture)*
+#if USE_OPENGL_ES
+#   define GL_UNPACK_ROW_LENGTH 0
+#endif
 #endif
 
 #if USE_OPENGL_ES



More information about the vlc-commits mailing list