aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
index 006ee4c97..37d408990 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -42,7 +42,6 @@ import java.util.HashMap;
import java.util.Map;
import jogamp.nativewindow.Debug;
-import jogamp.nativewindow.GlobalToolkitLock;
import jogamp.nativewindow.NativeWindowFactoryImpl;
import jogamp.nativewindow.ToolkitProperties;
import jogamp.nativewindow.ResourceToolkitLock;
@@ -376,14 +375,6 @@ public abstract class NativeWindowFactory {
}
/**
- * Ony call this for small code segments for desktop w/ threading issues.
- * @return {@link GlobalToolkitLock} if desktop has threading issues, otherwise {@link #getNullToolkitLock()}
- */
- public static ToolkitLock getGlobalToolkitLockIfRequired() {
- return desktopHasThreadingIssues ? GlobalToolkitLock.getSingleton() : getNullToolkitLock();
- }
-
- /**
* Provides the system default {@link ToolkitLock} for the default system windowing type.
* @see #getNativeWindowType(boolean)
* @see #getDefaultToolkitLock(java.lang.String)