From c2c22f185fcebe8927bc5766cb5f24cba8312cb2 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 26 Mar 2011 01:03:29 +0100 Subject: Promote GLDrawableFactory.getOrCreateSharedContext(..) to public. --- src/jogl/classes/javax/media/opengl/GLDrawableFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl') 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 null 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); -- cgit v1.2.3