Commit a534d8d7 authored by Matthew Waters's avatar Matthew Waters 🐨 Committed by Tim-Philipp Müller

gl/shader: allow setting non-square matrices as uniforms on gles platforms

It is possible with GLES3
parent fab729c6
......@@ -1336,7 +1336,6 @@ gst_gl_shader_set_uniform_matrix_4fv (GstGLShader * shader, const gchar * name,
gl->UniformMatrix4fv (location, count, transpose, value);
}
#if GST_GL_HAVE_OPENGL
/**
* gst_gl_shader_set_uniform_matrix_2x3fv:
* @shader: a #GstGLShader
......@@ -1504,7 +1503,6 @@ gst_gl_shader_set_uniform_matrix_4x3fv (GstGLShader * shader,
gl->UniformMatrix4x3fv (location, count, transpose, value);
}
#endif /* GST_GL_HAVE_OPENGL */
/**
* gst_gl_shader_get_attribute_location:
......
......@@ -135,7 +135,6 @@ GST_EXPORT
void gst_gl_shader_set_uniform_matrix_3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
#if GST_GL_HAVE_OPENGL
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_2x3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
......@@ -148,7 +147,6 @@ GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4x2fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
GST_EXPORT
void gst_gl_shader_set_uniform_matrix_4x3fv (GstGLShader *shader, const gchar *name, gint count, gboolean transpose, const gfloat* value);
#endif
GST_EXPORT
gint gst_gl_shader_get_attribute_location (GstGLShader *shader, const gchar *name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment