Skip to content

Commit

Permalink
Fix iOS linking
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jan 17, 2024
1 parent 7caa822 commit 115cae3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Backends/System/iOS/Sources/kinc/backend/GLView.m.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ extern int kinc_ios_gl_framebuffer;
#endif

#ifdef KORE_METAL
void initMetalCompute(id<MTLDevice> device, id<MTLCommandQueue> commandQueue);

- (id)initWithFrame:(CGRect)frame {
self = [super initWithFrame:(CGRect)frame];
self.contentScaleFactor = [UIScreen mainScreen].scale;
Expand All @@ -92,7 +90,6 @@ void initMetalCompute(id<MTLDevice> device, id<MTLCommandQueue> commandQueue);
device = MTLCreateSystemDefaultDevice();
commandQueue = [device newCommandQueue];
library = [device newDefaultLibrary];
initMetalCompute(device, commandQueue);

CAMetalLayer *metalLayer = (CAMetalLayer *)self.layer;

Expand Down

0 comments on commit 115cae3

Please sign in to comment.