diff options
author | Sven Gothel <[email protected]> | 2011-03-26 01:03:29 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-26 01:03:29 +0100 |
commit | c2c22f185fcebe8927bc5766cb5f24cba8312cb2 (patch) | |
tree | a78fbc87033c0e43c4353009e1dae5df9207dd40 /src/jogl | |
parent | b9aa38f304d0a4726e3a0c64d8ce7adda315baf2 (diff) |
Promote GLDrawableFactory.getOrCreateSharedContext(..) to public.
Diffstat (limited to 'src/jogl')
-rw-r--r-- | src/jogl/classes/javax/media/opengl/GLDrawableFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java index c433e8b68..73b2b3823 100644 --- a/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java +++ b/src/jogl/classes/javax/media/opengl/GLDrawableFactory.java @@ -277,7 +277,7 @@ public abstract class GLDrawableFactory { * * @param device which {@link javax.media.nativewindow.AbstractGraphicsDevice#getConnection() connection} denotes the shared the target device, may be <code>null</code> for the platform's default device. */ - protected final GLContext getOrCreateSharedContext(AbstractGraphicsDevice device) { + public final GLContext getOrCreateSharedContext(AbstractGraphicsDevice device) { device = validateDevice(device); if(null!=device) { return getOrCreateSharedContextImpl(device); |