diff mbox

[1/6] gl: Add entry for UniformMatrix4fv in the gl dispatch table

Message ID 1297163415-31035-2-git-send-email-alexandros.frantzis@linaro.org
State Accepted
Commit 966e4a1738c5dc97149ff7bd58e54fa86f048c16
Headers show

Commit Message

alexandros.frantzis@linaro.org Feb. 8, 2011, 11:10 a.m. UTC
From: Alexandros Frantzis <alexandros.frantzis@linaro.org>

---
 src/cairo-gl-dispatch-private.h |    1 +
 src/cairo-gl-private.h          |    2 ++
 2 files changed, 3 insertions(+), 0 deletions(-)
diff mbox

Patch

diff --git a/src/cairo-gl-dispatch-private.h b/src/cairo-gl-dispatch-private.h
index f3245ed..bd444a5 100644
--- a/src/cairo-gl-dispatch-private.h
+++ b/src/cairo-gl-dispatch-private.h
@@ -83,6 +83,7 @@  cairo_private cairo_gl_dispatch_entry_t dispatch_shaders_entries[] = {
     DISPATCH_ENTRY_ARB (Uniform3f),
     DISPATCH_ENTRY_ARB (Uniform4f),
     DISPATCH_ENTRY_ARB (UniformMatrix3fv),
+    DISPATCH_ENTRY_ARB (UniformMatrix4fv),
     DISPATCH_ENTRY_ARB (Uniform1i),
     DISPATCH_ENTRY_LAST
 };
diff --git a/src/cairo-gl-private.h b/src/cairo-gl-private.h
index 6cea8c0..04322f2 100644
--- a/src/cairo-gl-private.h
+++ b/src/cairo-gl-private.h
@@ -210,6 +210,8 @@  typedef struct _cairo_gl_dispatch {
 			 GLfloat w);
     void (*UniformMatrix3fv) (GLint location, GLsizei count,
 				GLboolean transpose, const GLfloat *value);
+    void (*UniformMatrix4fv) (GLint location, GLsizei count,
+			      GLboolean transpose, const GLfloat *value);
     void (*Uniform1i) (GLint location, GLint x);
 
     /* Framebuffer objects */