aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-07-10 23:40:07 +0000
committerKenneth Russel <[email protected]>2005-07-10 23:40:07 +0000
commit9d28b7f7fffdaeee7353945000546cb73a00157b (patch)
tree418ebd5c31f8b23cbf7c9979693a10ea25fb3755 /src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java
parent8a4e964a88703bcab4a8888b25ea9e997953180a (diff)
Fixed Mac OS X port after initial GLContext changes
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JSR-231@321 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java')
-rw-r--r--src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java
index f2398aab8..70da97f32 100644
--- a/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java
+++ b/src/net/java/games/jogl/impl/macosx/MacOSXOnscreenGLContext.java
@@ -110,6 +110,10 @@ public class MacOSXOnscreenGLContext extends MacOSXGLContext {
throw new GLException("Should not call this");
}
+ public void setRealized() {
+ realized = true;
+ }
+
protected int makeCurrentImpl() throws GLException {
try {
if (!realized) {