summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/gluegen
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/com/jogamp/gluegen')
-rwxr-xr-xsrc/java/com/jogamp/gluegen/runtime/NativeLibLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java b/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java
index 662a059..94ff5d6 100755
--- a/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java
+++ b/src/java/com/jogamp/gluegen/runtime/NativeLibLoader.java
@@ -61,7 +61,7 @@ public class NativeLibLoader {
}
public static void loadGlueGenRT() {
- if (!didLoading && loadingEnabled) {
+ if (!didLoading && loadingEnabled) { // volatile: ok
synchronized (NativeLibLoader.class) {
if (!didLoading && loadingEnabled) {
didLoading = true;