Add RROR_LOG_REPORT for vertices without position

This commit is contained in:
raven02 2013-08-26 22:09:43 +08:00
parent c0eaa665d5
commit b2a033b7e0

View File

@ -764,7 +764,9 @@ void VertexDecoder::SetVertexType(u32 fmt) {
}
decFmt.posoff = decOff;
decOff += DecFmtSize(decFmt.posfmt);
}
} else
ERROR_LOG_REPORT(G3D, "Vertices without position found")
decFmt.stride = decOff;
size = align(size, biggest);