aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-03-26 01:03:29 +0100
committerSven Gothel <[email protected]>2011-03-26 01:03:29 +0100
commitc2c22f185fcebe8927bc5766cb5f24cba8312cb2 (patch)
treea78fbc87033c0e43c4353009e1dae5df9207dd40 /src/jogl
parentb9aa38f304d0a4726e3a0c64d8ce7adda315baf2 (diff)
Promote GLDrawableFactory.getOrCreateSharedContext(..) to public.
Diffstat (limited to 'src/jogl')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLDrawableFactory.java2
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);