summaryrefslogtreecommitdiff
path: root/src/rendering.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rendering.c')
-rw-r--r--src/rendering.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rendering.c b/src/rendering.c
index 8c3846d..296c2ed 100644
--- a/src/rendering.c
+++ b/src/rendering.c
@@ -888,8 +888,6 @@ static u32 gl_format_attachment(u32 format) {
void r_attach_buffers(void *restrict ctx, u32 fbo, u32* buffers, u32* buffer_parameters, i32 num_buffers) {
const GladGLContext *restrict gl = (GladGLContext*)ctx;
- DEBUG("Attaching to FBO %d\n", fbo);
-
u32 err;
u32 color_ofst = 0;
@@ -920,7 +918,7 @@ void r_attach_buffers(void *restrict ctx, u32 fbo, u32* buffers, u32* buffer_par
err = gl->GetError();
if (err) {
- ERROR("Failed to attach buffer!");
+ ERROR("Failed to attach buffer! glError: %u", err);
}
}
}