mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-03-30 01:54:49 +02:00
Converted System.getenv() to Boolean.getBoolean to please the blackdown VM
This commit is contained in:
parent
c9f35b917d
commit
033dc40a89
|
|
@ -121,7 +121,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
}
|
||||
|
||||
private static boolean isXrandrSupported() {
|
||||
if (System.getenv("LWJGL_DISABLE_XRANDR") != null)
|
||||
if (Boolean.getBoolean("LWJGL_DISABLE_XRANDR"))
|
||||
return false;
|
||||
lockAWT();
|
||||
try {
|
||||
|
|
@ -159,7 +159,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
private static native boolean nIsXF86VidModeSupported() throws LWJGLException;
|
||||
|
||||
private static boolean isNetWMFullscreenSupported() throws LWJGLException {
|
||||
if (System.getenv("LWJGL_DISABLE_NETWM") != null)
|
||||
if (Boolean.getBoolean("LWJGL_DISABLE_NETWM"))
|
||||
return false;
|
||||
lockAWT();
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in a new issue