commit | ac41bbe1263f491e6723eafce1188f7f0d876b56 | [log] [tgz] |
---|---|---|
author | Ryan C. Gordon <icculus@icculus.org> | Fri Jul 17 11:16:35 2020 -0400 |
committer | Ryan C. Gordon <icculus@icculus.org> | Fri Jul 17 11:16:35 2020 -0400 |
tree | dd55218fdceedeb808e08b88cb1b58f09ea590e5 | |
parent | e18861e33a302cecd6195faf83ef92821ba53388 [diff] |
metal: Make sure we have a command buffer available before trying to present. This fixes a case where you render to the backbuffer, then render to a render target, set the current target back to the backbuffer, and then present without drawing anything else; in this circumstance, the Present command would never happen. Fixes Bugzilla #5011.