mojoshader_effects.c
changeset 1204 21422b28cfd4
parent 1186 b5c8483ff647
child 1205 59d969911962
--- a/mojoshader_effects.c	Mon May 27 03:08:46 2019 -0400
+++ b/mojoshader_effects.c	Mon May 27 03:09:07 2019 -0400
@@ -373,7 +373,7 @@
 
             // !!! FIXME: Nested structs! -flibit
             assert(mem->info.parameter_class >= MOJOSHADER_SYMCLASS_SCALAR
-                && mem->info.parameter_class <= MOJOSHADER_SYMCLASS_VECTOR);
+                && mem->info.parameter_class <= MOJOSHADER_SYMCLASS_MATRIX_COLUMNS);
             assert(mem->info.parameter_type >= MOJOSHADER_SYMTYPE_BOOL
                 && mem->info.parameter_type <= MOJOSHADER_SYMTYPE_FLOAT);
             mem->info.member_count = 0;