From 736b717b5d6d2b2e7ac4066f54495e8e111d0e01 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 26 Nov 2023 10:00:34 +0100 Subject: Bug 1479 - NativeLibrary: Add getNativeLibraryPath() returning actual native library path, support throughout DynamicLibraryBundle[Info] --- src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java') diff --git a/src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java b/src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java index 5eb429774..a6e7f0ff5 100644 --- a/src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java +++ b/src/jogl/classes/jogamp/opengl/DesktopGLDynamicLookupHelper.java @@ -48,10 +48,8 @@ public class DesktopGLDynamicLookupHelper extends GLDynamicLookupHelper { gluLibNames.add("libGLU.so"); // unix gluLibNames.add("GLU32"); // windows gluLibNames.add("GLU"); // generic - gluLib = loadFirstAvailable(gluLibNames, true, true, null, true); - if(null != gluLib) { - nativeLibraries.add(gluLib); - } + gluLib = loadFirstAvailable(gluLibNames, true, true, null, true, "gluScaleImage"); + toolLibraries.add(gluLib); } return null != gluLib ; } -- cgit v1.2.3