mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-12 07:11:51 +00:00
Fix null deref becaues of incorrect error print
This commit is contained in:
1 parent
2c0751c338
commit
2b9c3118a5
1 file changed
+1
-1
@@ -2171,7 +2171,7 @@ void SPVModule::MakeReflection(ShaderReflection *reflection, ShaderBindpointMapp
|
||||
sig.compType = eCompType_Float;
|
||||
break;
|
||||
default:
|
||||
RDCERR("Unexpected base type of input signature %u", type->baseType->type);
|
||||
RDCERR("Unexpected base type of input signature %u", type->baseType ? type->baseType->type : type->type);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user