diff options
author | Sven Gothel <[email protected]> | 2011-08-31 03:25:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-08-31 03:25:48 +0200 |
commit | c75785dcc4758b3d865c5ccf6677389ab112d2fb (patch) | |
tree | d3c035106df01c6116c6c70f1479f8c352d74a07 /src/jogl/classes/jogamp/opengl/macosx/cgl | |
parent | 490a6ebf64d767f5395554da78dda96ebb59b0fc (diff) |
DynamicLibraryBundle*: Use generics for better spec - following gluegen commit cfb9e118e020707842e6b5136b07f5ab149540c1
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/macosx/cgl')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java index e81a9f4c5..a5d3579bc 100644 --- a/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java +++ b/src/jogl/classes/jogamp/opengl/macosx/cgl/MacOSXCGLDynamicLibraryBundleInfo.java @@ -29,32 +29,23 @@ package jogamp.opengl.macosx.cgl; import jogamp.opengl.*; -import com.jogamp.common.os.DynamicLookupHelper; -import com.jogamp.common.os.NativeLibrary; -import com.jogamp.common.os.Platform; import java.util.*; -import java.security.*; -import javax.media.opengl.GLException; public class MacOSXCGLDynamicLibraryBundleInfo extends DesktopGLDynamicLibraryBundleInfo { protected MacOSXCGLDynamicLibraryBundleInfo() { super(); } - public List getToolLibNames() { - List/*<List>*/ libNamesList = new ArrayList(); - - List/*<String>*/ glesLibNames = new ArrayList(); - - glesLibNames.add("/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"); - glesLibNames.add("GL"); - - libNamesList.add(glesLibNames); - - return libNamesList; + public List<List<String>> getToolLibNames() { + final List<List<String>> libsList = new ArrayList<List<String>>(); + final List<String> libsGL = new ArrayList<String>(); + libsGL.add("/System/Library/Frameworks/OpenGL.framework/Libraries/libGL.dylib"); + libsGL.add("GL"); + libsList.add(libsGL); + return libsList; } - - public final List getToolGetProcAddressFuncNameList() { + + public final List<String> getToolGetProcAddressFuncNameList() { return null; /** OSX manual says: NSImage use is discouraged List res = new ArrayList(); |