brought back functionality from previous builds but now cross-platform
This commit is contained in:
13
engine/ml_video.mm
Normal file
13
engine/ml_video.mm
Normal file
@@ -0,0 +1,13 @@
|
||||
#import <QuartzCore/CAMetalLayer.h>
|
||||
#import <Metal/Metal.h>
|
||||
|
||||
namespace CA {
|
||||
class MetalLayer;
|
||||
}
|
||||
|
||||
void APPLE_ConfigureLayer(CA::MetalLayer* pMetalLayer)
|
||||
{
|
||||
if (!pMetalLayer) return;
|
||||
|
||||
CAMetalLayer* nsLayer = (__bridge CAMetalLayer*)pMetalLayer;
|
||||
};
|
||||
Reference in New Issue
Block a user