Fix null deref becaues of incorrect error print

This commit is contained in:
baldurk committed 2016-02-07 18:43:14 +01:00
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;
}