diff options
Diffstat (limited to 'src/render/Framebuffer.cpp')
-rw-r--r-- | src/render/Framebuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Framebuffer.cpp b/src/render/Framebuffer.cpp index e5fc897d..a62ea18a 100644 --- a/src/render/Framebuffer.cpp +++ b/src/render/Framebuffer.cpp @@ -3,7 +3,7 @@ bool CFramebuffer::alloc(int w, int h) { bool firstAlloc = false; - RASSERT((w > 1 && h > 1), "cannot alloc a FB with negative / zero size! (attempted %ix%i)", w, h); + RASSERT((w > 1 && h > 1), "cannot alloc a FB with negative / zero size! (attempted {}x{})", w, h); if (m_iFb == (uint32_t)-1) { firstAlloc = true; @@ -40,9 +40,9 @@ bool CFramebuffer::alloc(int w, int h) { #endif auto status = glCheckFramebufferStatus(GL_FRAMEBUFFER); - RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: %i)", status); + RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: {})", status); - Debug::log(LOG, "Framebuffer created, status %i", status); + Debug::log(LOG, "Framebuffer created, status {}", status); } glBindTexture(GL_TEXTURE_2D, 0); |