mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-11 04:20:30 +00:00
Fix null deref becaues of incorrect error print
This commit is contained in:
@@ -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