From 6fb7f4fe2688782b9c37b156e2e3ec0d8d31b021 Mon Sep 17 00:00:00 2001 From: buthed010203 Date: Mon, 27 Sep 2021 11:55:34 -0400 Subject: [PATCH] At least add a fastAA property (#6058) Since my other pr will never get merged, i will at least add this so i can use it myself --- tools/build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build.gradle b/tools/build.gradle index c9985b1612..781c80e821 100644 --- a/tools/build.gradle +++ b/tools/build.gradle @@ -17,7 +17,7 @@ def doAntialias = !project.hasProperty("disableAntialias") def colorMap = new IntMap>(), colorIndexMap = new IntIntMap() //on my machine, I have a native Nim AA implementation that is ~10x faster //it's not compiled for other platforms so they don't get it -def useFastAA = System.getProperty("user.name") == "anuke" +def useFastAA = project.hasProperty("fastAA") || System.getProperty("user.name") == "anuke" def transformColors = { List> list -> list.each{ colors -> @@ -281,4 +281,4 @@ task updateScripts(dependsOn: classes, type: JavaExec){ classpath = sourceSets.main.runtimeClasspath standardInput = System.in workingDir = "../" -} \ No newline at end of file +}