Fix null deref becaues of incorrect error print

This commit is contained in:
baldurk
2015-10-12 11:27:05 +02:00
parent 2c0751c338
commit 2b9c3118a5
@@ -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;
}