mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
fix(Metal): Check for nil drawable
This commit is contained in:
parent
dc161a1cb3
commit
01df2c5e88
@ -280,7 +280,11 @@
|
||||
dispatch_semaphore_signal(inflight);
|
||||
}];
|
||||
|
||||
[_commandBuffer presentDrawable:self.nextDrawable];
|
||||
if (self.nextDrawable)
|
||||
{
|
||||
[_commandBuffer presentDrawable:self.nextDrawable];
|
||||
}
|
||||
|
||||
[_commandBuffer commit];
|
||||
|
||||
_commandBuffer = nil;
|
||||
|
Loading…
x
Reference in New Issue
Block a user