Browse Source

sokol_gfx.h gl: fix unused variable error

Andre Weissflog 2 years ago
parent
commit
177e2c79be
1 changed files with 1 additions and 0 deletions
  1. 1 0
      sokol_gfx.h

+ 1 - 0
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) {