Remove category from _assert_msg_ functions. We don't filter these by category anyway.

Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
This commit is contained in:
Henrik Rydgård committed 2020-07-19 20:33:25 +02:00
1 parent 31fada55e6
commit c5e0b799d9
99 files changed
+1007 -1015

No files matched your search

+2 -2
View File
@@ -54,7 +54,7 @@ void SoftwareDrawEngine::DispatchFlush() {
}
void SoftwareDrawEngine::DispatchSubmitPrim(void *verts, void *inds, GEPrimitiveType prim, int vertexCount, u32 vertTypeID, int cullMode, int *bytesRead) {
_assert_msg_(G3D, cullMode == gstate.getCullMode(), "Mixed cull mode not supported.");
_assert_msg_(cullMode == gstate.getCullMode(), "Mixed cull mode not supported.");
transformUnit.SubmitPrimitive(verts, inds, prim, vertexCount, vertTypeID, bytesRead, this);
}
@@ -398,7 +398,7 @@ void TransformUnit::SubmitPrimitive(void* vertices, void* indices, GEPrimitiveTy
break;
default:
_dbg_assert_msg_(G3D, false, "Unexpected prim type: %d", prim_type);
_dbg_assert_msg_(false, "Unexpected prim type: %d", prim_type);
}
}
break;