From fef231dc5b699596cba19d225c17833affcd5a5d Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Sat, 30 Jun 2018 11:24:38 -0500 Subject: [PATCH] gl_shader_manager: fix macro --- src/video_core/renderer_opengl/gl_shader_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cpp index 3b3faea9ab..823ccde8b2 100644 --- a/src/video_core/renderer_opengl/gl_shader_manager.cpp +++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp @@ -16,7 +16,7 @@ static void SetShaderUniformBlockBinding(GLuint shader, const char* name, Unifor } GLint ub_size = 0; glGetActiveUniformBlockiv(shader, ub_index, GL_UNIFORM_BLOCK_DATA_SIZE, &ub_size); - ASSERT_MSG(ub_size == expected_size, "Uniform block size did not match! Got %d, expected %zu", + ASSERT_MSG(ub_size == expected_size, "Uniform block size did not match! Got {}, expected {}", static_cast(ub_size), expected_size); glUniformBlockBinding(shader, ub_index, static_cast(binding)); }