mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-06 04:33:49 +01:00
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:
1 parent
31fada55e6
commit
c5e0b799d9
99 files changed
+1007
-1015
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user