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>
This commit is contained in:
Neil Roberts 2011-11-03 15:50:02 +00:00
parent 89731d160e
commit c637324663

View File

@ -241,6 +241,7 @@ cogl_program_uniform_x (CoglHandle handle,
uniform->value.type = type; uniform->value.type = type;
uniform->value.size = size; uniform->value.size = size;
uniform->value.count = count; uniform->value.count = count;
uniform->value.transpose = transpose;
uniform->dirty = TRUE; uniform->dirty = TRUE;
} }
} }