Ryan C. Gordon b7a4fdd318 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.
2020-07-17 11:16:35 -04:00
..
2020-06-11 12:03:33 -04:00
2020-02-10 13:59:05 -08:00
2020-01-29 20:09:16 -08:00
2020-01-16 20:49:25 -08:00
2020-05-21 04:01:37 -04:00
2020-01-16 20:49:25 -08:00
2020-05-26 13:19:44 -07:00
2020-07-16 13:28:59 -04:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00
2020-01-16 20:49:25 -08:00