missed shader name correction in code metal-prototype-branch
authoraghaisas
Fri, 22 Feb 2019 16:07:58 +0530
branchmetal-prototype-branch
changeset 57206 77a160ad0db7
parent 57205 f1cd193d87a4
child 57209 268875216dfc
missed shader name correction in code
src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MetalLayer.m
--- a/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MetalLayer.m	Fri Feb 22 14:07:32 2019 +0530
+++ b/src/java.desktop/macosx/native/libawt_lwawt/java2d/metal/MetalLayer.m	Fri Feb 22 16:07:58 2019 +0530
@@ -234,7 +234,7 @@
     // ------------------------------------------------------------------------------------------------
     // Load shader library
     NSError *error = nil;
-    mtlLayer.mtlLibrary = [mtlLayer.device newLibraryWithFile: @"/tmp/MyShader.metallib" error:&error];
+    mtlLayer.mtlLibrary = [mtlLayer.device newLibraryWithFile: @"/tmp/BaseShader.metallib" error:&error];
     if (!mtlLayer.mtlLibrary) {
         NSLog(@"Failed to load library. error %@", error);
         //exit(0);