diff options
| author | onelin <oscar@nelin.dk> | 2025-12-18 21:29:42 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-12-18 21:29:42 +0000 |
| commit | 49fbbcc95e1234e0eb1464fc877b0264c5fcb9d1 (patch) | |
| tree | a100a111367c72bdb26f97a939a705fee7c77d1f /src/rendering.c | |
| parent | e16066c07a9e0f09ffc5360b56bf5c0a1faf6c3d (diff) | |
Cleanup DEBUG prints
Diffstat (limited to 'src/rendering.c')
| -rw-r--r-- | src/rendering.c | 4 |
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); } } } |
