mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
glgsg: Better error when invalid ShaderPtrSpec type is encountered
This commit is contained in:
parent
a9206041d9
commit
2436a06527
@ -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]) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user