Browse Source

sokol_gfx.h gl: fix unused variable error

Andre Weissflog 2 năm trước cách đây
mục cha
commit
177e2c79be
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {