Commit a53d21ba authored by Roman Sedaikin's avatar Roman Sedaikin

Fixed typo in MTLCreateIntegratedDevice.

parent 06e21a8c
......@@ -100,7 +100,7 @@ JNIEXPORT jlong JNICALL Java_org_jetbrains_skiko_redrawer_MetalRedrawer_makeMeta
return (jlong) renderTarget;
}
id<MTLDevice> MTLCreateInegratedDevice() {
id<MTLDevice> MTLCreateIntegratedDevice() {
NSArray<id<MTLDevice>> *devices = MTLCopyAllDevices();
id<MTLDevice> gpu = nil;
......@@ -135,7 +135,7 @@ JNIEXPORT jlong JNICALL Java_org_jetbrains_skiko_redrawer_MetalRedrawer_createMe
[container addSublayer: layer];
layer.javaRef = env->NewGlobalRef(redrawer);
id<MTLDevice> fDevice = MTLCreateInegratedDevice();
id<MTLDevice> fDevice = MTLCreateIntegratedDevice();
id<MTLCommandQueue> fQueue = [fDevice newCommandQueue];
device.container = container;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment