aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2023-06-19 11:41:26 +0200
committerAndre Weissflog <floooh@gmail.com>2023-06-19 11:41:26 +0200
commit177e2c79bee74acebaeeb8d5b29f7f168858ff78 (patch)
treeab45c59347082ad9ccba25b16944e740ec6d17ba
parentfc62ffd09a15eca95ba711e87ea859f79cb7a38a (diff)
sokol_gfx.h gl: fix unused variable error
-rw-r--r--sokol_gfx.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_gfx.h b/sokol_gfx.h
index 9fca8c95..93acd855 100644
--- a/sokol_gfx.h
+++ b/sokol_gfx.h
@@ -7666,6 +7666,7 @@ _SOKOL_PRIVATE void _sg_gl_end_pass(void) {
}
// invalidate framebuffers
+ _SOKOL_UNUSED(fb_draw_bound);
#if defined(SOKOL_GLES3)
// need to restore framebuffer binding before invalidate if the MSAA resolve had changed the binding
if (fb_draw_bound) {