diff options
author | Kenneth Russel <[email protected]> | 2006-02-21 08:42:23 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-02-21 08:42:23 +0000 |
commit | 704375911f3f01e9d4318783301ea3aba7891cb2 (patch) | |
tree | 52755f6671dbcc109674d0e1c009a3669d319b81 /src/classes/com/sun | |
parent | 32e67c03dc9959b1d448eaf314639a3d36fd7f34 (diff) |
Fixed bug in GLDrawableHelper.invokeGL() where the previous initAction
was not being set up
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@628 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun')
-rw-r--r-- | src/classes/com/sun/opengl/impl/GLDrawableHelper.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLDrawableHelper.java b/src/classes/com/sun/opengl/impl/GLDrawableHelper.java index 014e35f7e..614b26096 100644 --- a/src/classes/com/sun/opengl/impl/GLDrawableHelper.java +++ b/src/classes/com/sun/opengl/impl/GLDrawableHelper.java @@ -116,6 +116,7 @@ public class GLDrawableHelper { try { res = context.makeCurrent(); if (res != GLContext.CONTEXT_NOT_CURRENT) { + perThreadInitAction.set(initAction); if (res == GLContext.CONTEXT_CURRENT_NEW) { if (DEBUG) { System.err.println("GLDrawableHelper " + this + ".invokeGL(): Running initAction"); |