Browse Source

Merge branch 'danielchasehooper-patch-2'

https://github.com/floooh/sokol/pull/878
Andre Weissflog 2 years ago
parent
commit
cb1e04d4bf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sokol_gfx.h

+ 1 - 1
sokol_gfx.h

@@ -7811,7 +7811,7 @@ _SOKOL_PRIVATE void _sg_gl_end_pass(void) {
         const _sg_pass_t* pass = _sg.gl.cur_pass;
         SOKOL_ASSERT(pass->slot.id == _sg.gl.cur_pass_id.id);
         bool fb_read_bound = false;
-        bool fb_draw_bound = true;
+        bool fb_draw_bound = false;
         const int num_atts = pass->cmn.num_color_atts;
         for (int i = 0; i < num_atts; i++) {
             // perform MSAA resolve if needed