mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-05 17:40:39 +00:00
Move __MAC_12_0 define to a header file
This commit is contained in:
committed by
Baldur Karlsson
parent
ea5cfa6e95
commit
8a95818b74
@@ -28,11 +28,6 @@
|
||||
#include "metal_library.h"
|
||||
#include "metal_types_bridge.h"
|
||||
|
||||
// Define Mac SDK versions when compiling with earlier SDKs
|
||||
#ifndef __MAC_12_0
|
||||
#define __MAC_12_0 120000
|
||||
#endif
|
||||
|
||||
// Bridge for MTLDevice
|
||||
@implementation ObjCBridgeMTLDevice
|
||||
|
||||
|
||||
@@ -38,3 +38,8 @@
|
||||
|
||||
METALCPP_WRAPPED_PROTOCOLS(DECLARE_OBJC_WRAPPED_INTERFACES)
|
||||
#undef DECLARE_OBJC_WRAPPED_INTERFACES
|
||||
|
||||
// Define Mac SDK versions when compiling with earlier SDKs
|
||||
#ifndef __MAC_12_0
|
||||
#define __MAC_12_0 120000
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user