From 74adb7cc4ba59369964b562e3c84988f63025296 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Tue, 19 Jul 2005 01:53:36 +0000 Subject: Added workaround for problem loading JAWT library on X11 platforms before the AWT toolkit had been loaded. Added check for jogl.gljpanel.nosw system property to diagnose problems with pbuffer support. Fixed bootstrapping problem with GLX where its function pointer table needed to be initialized before the first OpenGL context was created in the case where a pbuffer was the first thing created. Moved helper functions for resetting proc address table and dynamic function lookup to GLDrawableFactoryImpl from GLContextImpl. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@331 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java') diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java index f6b7cebf1..039194f9a 100644 --- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java +++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java @@ -41,7 +41,6 @@ package net.java.games.jogl.impl.macosx; import java.awt.Component; import java.util.*; -import net.java.games.gluegen.runtime.*; // for PROCADDRESS_VAR_PREFIX import net.java.games.jogl.*; import net.java.games.jogl.impl.*; @@ -169,10 +168,6 @@ public abstract class MacOSXGLContext extends GLContextImpl } } - protected long dynamicLookupFunction(String glFuncName) { - return CGL.getProcAddress(glFuncName); - } - public boolean isCreated() { return (nsContext != 0); } -- cgit v1.2.3