General: Convert PanicAlerts over to fmt equivalent
Converts lingering panic alert calls over to the fmt-capable ones.
This commit is contained in:
1 parent
5abae61a8c
commit
139d4fc76e
45 files changed
+206
-195
No files matched your search
@@ -48,11 +48,11 @@ static void SetPointer(u32 attrib, u32 stride, const AttributeFormat& format)
|
||||
GLVertexFormat::GLVertexFormat(const PortableVertexDeclaration& vtx_decl)
|
||||
: NativeVertexFormat(vtx_decl)
|
||||
{
|
||||
u32 vertex_stride = vtx_decl.stride;
|
||||
const u32 vertex_stride = vtx_decl.stride;
|
||||
|
||||
// We will not allow vertex components causing uneven strides.
|
||||
if (vertex_stride & 3)
|
||||
PanicAlert("Uneven vertex stride: %i", vertex_stride);
|
||||
PanicAlertFmt("Uneven vertex stride: {}", vertex_stride);
|
||||
|
||||
VertexManager* const vm = static_cast<VertexManager*>(g_vertex_manager.get());
|
||||
|
||||
|
||||
Reference in new issue
Block a user