Closed
Description
After #2138 got in, we got a problem with exclusive full-screen mode of Dota, where a semaphore is provided for the frame, and there is nothing instantly available. So nextDrawable == nil
, and we don't get a CADrawable
, and we don't get the associated MTLTexture
... which is needed for immediate command buffer recording.
One possible solution would be to switch to deferred recording once we encounter a texture that will be available later (from an acquired frame). We'd only be able to record the rest when we get that texture.