summaryrefslogtreecommitdiff
path: root/src/render/Framebuffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/Framebuffer.cpp')
-rw-r--r--src/render/Framebuffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Framebuffer.cpp b/src/render/Framebuffer.cpp
index d35e5119..83325dd7 100644
--- a/src/render/Framebuffer.cpp
+++ b/src/render/Framebuffer.cpp
@@ -43,7 +43,7 @@ bool CFramebuffer::alloc(int w, int h, uint32_t drmFormat) {
#endif
auto status = glCheckFramebufferStatus(GL_FRAMEBUFFER);
- RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: {})", status);
+ RASSERT((status == GL_FRAMEBUFFER_COMPLETE), "Framebuffer incomplete, couldn't create! (FB status: {}, GL Error: 0x{:x})", status, (int)glGetError());
Debug::log(LOG, "Framebuffer created, status {}", status);
}