From 7f2bbb855b73aafc0a85f7efbd9e1f0fe5c0c1d7 Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Fri, 10 Jun 2022 19:09:27 +0000 Subject: [PATCH] Add Hardware rendering to options Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 --- README.md | 4 +++- runGame.command | 2 +- runGame.ps1 | 2 +- runGame.sh | 2 +- sig | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 48f9466..1598b41 100644 --- a/README.md +++ b/README.md @@ -68,4 +68,6 @@ Storyboarding / Event Systems `super` to suppress warnings relative to overriding a method without super invocations `resource` to suppress warnings relative to usage of resources of type Closeable -`sync-override` to suppress warnings because of missing synchronize when overriding a synchronized method \ No newline at end of file +`sync-override` to suppress warnings because of missing synchronize when overriding a synchronized method + +http://www.magicandlove.com/blog/2012/05/01/opencl-particles-system-example-in-processing/ \ No newline at end of file diff --git a/runGame.command b/runGame.command index ecab5f4..6677ab1 100755 --- a/runGame.command +++ b/runGame.command @@ -1,3 +1,3 @@ cd bin -java -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar +java -Djava.library.path="../lib" -Dsun.java2d.opengl=true -Xms2G -Xmx2G -jar RabiClone.jar cd .. \ No newline at end of file diff --git a/runGame.ps1 b/runGame.ps1 index 6e2680c..5129923 100755 --- a/runGame.ps1 +++ b/runGame.ps1 @@ -1,3 +1,3 @@ cd bin -java "-Djava.library.path=../lib" -Xms2G -Xmx2G -jar RabiClone.jar +java "-Djava.library.path=../lib" "-Dsun.java2d.opengl=true" -Xms2G -Xmx2G -jar RabiClone.jar cd .. \ No newline at end of file diff --git a/runGame.sh b/runGame.sh index ecab5f4..5c21484 100755 --- a/runGame.sh +++ b/runGame.sh @@ -1,3 +1,3 @@ cd bin -java -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar +java -Dsun.java2d.opengl=true -Djava.library.path="../lib" -Xms2G -Xmx2G -jar RabiClone.jar cd .. \ No newline at end of file diff --git a/sig b/sig index 5c36672..ea90775 100755 --- a/sig +++ b/sig @@ -8,7 +8,7 @@ define MAIN_CLASS "sig.${PROJECT_NAME}" define OUT_DIR "bin" define LIBRARY_PATH "../lib" define CLASS_PATH "${PROJECT_DIR}/..:lib/bin" -define CUSTOM_PARAMS "-Xmx2G -Xms2G" +define CUSTOM_PARAMS "-Xmx2G -Xms2G -Dsun.java2d.opengl=true" define LANGUAGE "Java" source utils/main.sh \ No newline at end of file