Skip to content

Commit

Permalink
Try to fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
MCRcortex committed Sep 14, 2023
1 parent 58cc965 commit c871571
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ public static void close(long handleDescriptor) {
throw new IllegalStateException();
}
} else {
if (LibC.INSTANCE.close((int) handleDescriptor) != 0) {
throw new IllegalStateException();
}
//if (LibC.INSTANCE.close((int) handleDescriptor) != 0) {
// throw new IllegalStateException();
//}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
public class MixinStandardMacros {
@Inject(method = "createStandardEnvironmentDefines", at = @At(value = "INVOKE", target = "Lnet/coderbot/iris/gl/shader/StandardMacros;define(Ljava/util/List;Ljava/lang/String;)V", ordinal = 0), locals = LocalCapture.CAPTURE_FAILHARD)
private static void injectVulkaniteDefine(CallbackInfoReturnable<Iterable<StringPair>> cir, ArrayList<StringPair> defines) {
defines.add(new StringPair("VULKANITE", ""));
defines.add(new StringPair("VULKANITE", " "));
}
}

0 comments on commit c871571

Please sign in to comment.