From 139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 2 Dec 2020 13:17:27 -0500 Subject: General: Convert PanicAlerts over to fmt equivalent Converts lingering panic alert calls over to the fmt-capable ones. --- Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp') diff --git a/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp b/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp index c95e1f8472..6057c8878c 100644 --- a/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp +++ b/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp @@ -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(g_vertex_manager.get()); -- cgit v1.2.3