diff options
Diffstat (limited to 'src/classes/com/sun/opengl/impl/macosx/cgl')
-rw-r--r-- | src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java index 8bf82b3d2..4959c308f 100644 --- a/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/cgl/MacOSXCGLContext.java @@ -43,6 +43,7 @@ import java.nio.*; import java.util.*; import javax.media.opengl.*; import com.sun.opengl.impl.*; +import com.sun.gluegen.runtime.ProcAddressTable; public abstract class MacOSXCGLContext extends GLContextImpl { @@ -71,6 +72,14 @@ public abstract class MacOSXCGLContext extends GLContextImpl return cglExt; } + public final ProcAddressTable getPlatformExtProcAddressTable() { + return getCGLExtProcAddressTable(); + } + + public final CGLExtProcAddressTable getCGLExtProcAddressTable() { + return cglExtProcAddressTable; + } + public GLDrawable getGLDrawable() { return drawable; } @@ -309,10 +318,6 @@ public abstract class MacOSXCGLContext extends GLContextImpl resetProcAddressTable(getCGLExtProcAddressTable()); } - public final CGLExtProcAddressTable getCGLExtProcAddressTable() { - return cglExtProcAddressTable; - } - public String getPlatformExtensionsString() { return ""; |