瀏覽代碼

sokol_gfx.h gl: fix unused variable error

Andre Weissflog 2 年之前
父節點
當前提交
177e2c79be
共有 1 個文件被更改,包括 1 次插入0 次删除
  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
         // invalidate framebuffers
+        _SOKOL_UNUSED(fb_draw_bound);
         #if defined(SOKOL_GLES3)
         #if defined(SOKOL_GLES3)
         // need to restore framebuffer binding before invalidate if the MSAA resolve had changed the binding
         // need to restore framebuffer binding before invalidate if the MSAA resolve had changed the binding
         if (fb_draw_bound) {
         if (fb_draw_bound) {