[cogl] cogl-program: Don't ignore the transpose property of matrix uniforms
- From: Neil Roberts <nroberts src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cogl] cogl-program: Don't ignore the transpose property of matrix uniforms
- Date: Thu, 3 Nov 2011 16:10:31 +0000 (UTC)
commit c6373246631055d4bb3fccec73d5fe8fa2101f5e
Author: Neil Roberts <neil linux intel com>
Date: Thu Nov 3 15:50:02 2011 +0000
cogl-program: Don't ignore the transpose property of matrix uniforms
When setting a matrix uniform value the transpose property was getting
lost and left uninitialized.
Reviewed-by: Robert Bragg <robert linux intel com>
cogl/cogl-program.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/cogl/cogl-program.c b/cogl/cogl-program.c
index 51d5baa..316b164 100644
--- a/cogl/cogl-program.c
+++ b/cogl/cogl-program.c
@@ -241,6 +241,7 @@ cogl_program_uniform_x (CoglHandle handle,
uniform->value.type = type;
uniform->value.size = size;
uniform->value.count = count;
+ uniform->value.transpose = transpose;
uniform->dirty = TRUE;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]