@@ -2255,7 +2255,12 @@ issue_parameters(int altered) {
break;
default:
- nassertd(false) continue;
+#ifndef NDEBUG
+ GLCAT.error()
+ << "Invalid ShaderPtrSpec type " << (int)ptr_data->_type
+ << " for shader input '" << spec._id._name << "'\n";
+#endif
+ continue;
}
switch (spec._dim[1]) {