From 08d481088925526964be39cbdd28cfc4ae828a86 Mon Sep 17 00:00:00 2001
From: Kenneth Russel <kbrussel@alum.mit.edu>
Date: Tue, 19 Jul 2005 02:16:34 +0000
Subject: Added GLContext.getGLDrawable(). Made GLJPanel constructor protected
 and GLJPanel non-final. Rechecked against original JSR-231 OpenGL context
 handling proposal; the proposed APIs are now complete. The necessary and
 desired changes need to be brought up with the expert group.

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@332 232f8b59-042b-4e1e-8c03-345bb8c30851
---
 src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'src/net/java/games/jogl/impl/macosx')

diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
index 039194f9a..bd1253cc4 100644
--- a/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
+++ b/src/net/java/games/jogl/impl/macosx/MacOSXGLContext.java
@@ -64,6 +64,10 @@ public abstract class MacOSXGLContext extends GLContextImpl
     return new MacOSXGLImpl(this);
   }
   
+  public GLDrawable getGLDrawable() {
+    return drawable;
+  }
+
   protected String mapToRealGLFunctionName(String glFunctionName)
   {
     return glFunctionName;
-- 
cgit v1.2.3