Ugh…
This commit is contained in:
parent
7a950c7caf
commit
c7d42e59c0
1 changed files with 3 additions and 5 deletions
|
|
@ -17,10 +17,8 @@ in pkgs.mkShell rec {
|
||||||
_JAVA_AWT_WM_NONREPARENTING = "1";
|
_JAVA_AWT_WM_NONREPARENTING = "1";
|
||||||
|
|
||||||
# we need to make sure the library is on the path for JOGL;
|
# we need to make sure the library is on the path for JOGL;
|
||||||
# also, there's a bug that is avoided with the second config line
|
# also, there's a bug that is avoided with the variable
|
||||||
# https://github.com/processing/processing/issues/5476
|
# https://github.com/processing/processing/issues/5476
|
||||||
JAVA_OPTS = "-Djava.library.path=${lib.makeLibraryPath buildInputs}";
|
JAVA_OPTS = "-Djava.library.path=${lib.makeLibraryPath buildInputs}";
|
||||||
# -Djogl.disable.openglcore=\"true\"
|
LIBGL_ALWAYS_SOFTWARE = true; # ← this is the same as passing -Djogl.disable.openglcore="true"
|
||||||
# LIBGL_ALWAYS_SOFTWARE = true;
|
|
||||||
# JAVA_LIBRARY_PATH = "${lib.makeLibraryPath buildInputs}";
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue