summaryrefslogtreecommitdiff
path: root/ir_function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ir_function.cpp')
-rw-r--r--ir_function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir_function.cpp b/ir_function.cpp
index 1ff5b203cc..b6139c4a9f 100644
--- a/ir_function.cpp
+++ b/ir_function.cpp
@@ -38,7 +38,7 @@ type_compare(const glsl_type *a, const glsl_type *b)
case GLSL_TYPE_FLOAT:
case GLSL_TYPE_BOOL:
if ((a->vector_elements != b->vector_elements)
- || (a->matrix_rows != b->matrix_rows))
+ || (a->matrix_columns != b->matrix_columns))
return -1;
/* There is no implicit conversion to or from bool.