[cogl/cogl-1.8] cogl-program: Don't ignore the transpose property of matrix uniforms



commit d610efc858a5a51c08b9ccacb9f1105c87b6edf0
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>
    
    (cherry picked from commit c6373246631055d4bb3fccec73d5fe8fa2101f5e)

 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 044c284..adcbd6f 100644
--- a/cogl/cogl-program.c
+++ b/cogl/cogl-program.c
@@ -240,6 +240,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]