When I try to build VLC master, I get the following error: opengl.c: In function 'vout_display_opengl_Display': opengl.c:471:5: error: implicit declaration of function 'glEnableClientState' opengl.c:471:25: error: 'GL_VERTEX_ARRAY' undeclared (first use in this function) opengl.c:471:25: note: each undeclared identifier is reported only once for each function it appears in opengl.c:472:25: error: 'GL_TEXTURE_COORD_ARRAY' undeclared (first use in this function) opengl.c:473:5: error: implicit declaration of function 'glVertexPointer' opengl.c:474:5: error: implicit declaration of function 'glTexCoordPointer' According to this bug report (http://trac.videolan.org/vlc/ticket/4553) I found in VLC's bug tracker, it seems to be Mesa's fault since GLES2/gl2.h should have glEnableClientState, glVertexPointer, glTexCoordPointer, GL_VERTEX_ARRAY, GL_TEXTURE_COORD_ARRAY and probably some more.
Mesa uses the standard GLES2/gl2.h header from Khronos. GL_VERTEX_ARRAY and GL_TEXTURE_COORD_ARRAY are not defined or used by OpenGL ES 2.0 (please read the ES 2.0 spec). This looks to me like the bug is in VLC. The VLC authors should double-check that their code isn't accidentally using desktop OpenGL features with ES 2.0.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.