mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
Put this around an ifdef
This commit is contained in:
parent
c0beef8365
commit
837cf84fc8
@ -257,13 +257,15 @@ static char** waiting_argv;
|
||||
switch (vt) {
|
||||
case APPLE_VIEW_TYPE_VULKAN:
|
||||
case APPLE_VIEW_TYPE_METAL:
|
||||
#if defined(HAVE_METAL) || defined(HAVE_VULKAN)
|
||||
{
|
||||
NSView *v = [CocoaView get];
|
||||
v.wantsLayer = YES;
|
||||
v.layer = CAMetalLayer.layer;
|
||||
_renderView = v;
|
||||
break;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
case APPLE_VIEW_TYPE_OPENGL:
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user