[476/906] OpenGL ES 2.0: fix build and disable some examples

Fix bug #631019
This commit is contained in:
Antoni Silvestre 2011-11-18 17:26:35 +01:00 committed by Matthew Waters
parent cc70130c6f
commit b640cbc542
2 changed files with 8 additions and 4 deletions

View file

@ -455,6 +455,7 @@ gst_gl_filter_render_to_target (GstGLFilter * filter,
GST_GL_DISPLAY_PROJECTION_ORTHO2D, data);
}
#ifndef OPENGL_ES2
static void
_draw_with_shader_cb (gint width, gint height, guint texture, gpointer stuff)
{
@ -506,3 +507,4 @@ gst_gl_filter_draw_texture (GstGLFilter * filter, GLuint texture)
glEnd ();
}
#endif

View file

@ -92,11 +92,13 @@ void
gst_gl_filter_render_to_target (GstGLFilter *filter,
GLuint input, GLuint target,
GLCB func, gpointer data);
#ifndef OPENGL_ES2
void
gst_gl_filter_render_to_target_with_shader (GstGLFilter * filter,
GLuint input, GLuint target, GstGLShader *shader);
void gst_gl_filter_draw_texture (GstGLFilter *filter, GLuint texture);
#endif
G_END_DECLS