mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 07:13:35 +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);
|
dispatch_semaphore_signal(inflight);
|
||||||
}];
|
}];
|
||||||
|
|
||||||
|
if (self.nextDrawable)
|
||||||
|
{
|
||||||
[_commandBuffer presentDrawable:self.nextDrawable];
|
[_commandBuffer presentDrawable:self.nextDrawable];
|
||||||
|
}
|
||||||
|
|
||||||
[_commandBuffer commit];
|
[_commandBuffer commit];
|
||||||
|
|
||||||
_commandBuffer = nil;
|
_commandBuffer = nil;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user