summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-12-02 20:45:27 +0100
committerGitHub <noreply@github.com>2020-12-02 20:45:27 +0100
commitb148b56fba41e2beb81c61e4d84bbecad0f33a53 (patch)
tree9588abb91d50ca660e9f832eb8d751be73a8413d /Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp
parent00f2e0e494f644d0a559dc92f9eb94be0fab6913 (diff)
parent139d4fc76e4ddf45179ca5ec5e42c52ef513ea4d (diff)
Merge pull request #9304 from lioncash/panic
General: Convert PanicAlerts over to fmt equivalent
Diffstat (limited to 'Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp')
-rw-r--r--Source/Core/VideoBackends/OGL/NativeVertexFormat.cpp4
1 files changed, 2 insertions, 2 deletions
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<VertexManager*>(g_vertex_manager.get());