2
0
Эх сурвалжийг харах

sokol_gfx.h gl: fix unused variable error

Andre Weissflog 2 жил өмнө
parent
commit
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
+        _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) {