diff options
author | Kenneth Russel <[email protected]> | 2006-04-02 23:53:45 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-04-02 23:53:45 +0000 |
commit | 19210d91a89f184d3425cedf499517952a2aaa61 (patch) | |
tree | bafb0972ea90d025b01420f5dd75a2e84a5afd96 /src | |
parent | d6ee9155105cb90a388cd6c9474ec43261541a1c (diff) |
Made internal methods which fetch the platform-dependent context out
of the GLContext implementations public instead of protected for
easier interoperability with C libraries
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@699 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src')
3 files changed, 3 insertions, 3 deletions
diff --git a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java index d55bc2f15..d7890e369 100644 --- a/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java +++ b/src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java @@ -253,7 +253,7 @@ public abstract class MacOSXGLContext extends GLContextImpl // Internals only below this point // - protected long getNSContext() { + public long getNSContext() { return nsContext; } } diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLContext.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLContext.java index 7a827854c..a78c3baf0 100644 --- a/src/classes/com/sun/opengl/impl/windows/WindowsGLContext.java +++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLContext.java @@ -286,7 +286,7 @@ public class WindowsGLContext extends GLContextImpl { // Internals only below this point // - protected long getHGLRC() { + public long getHGLRC() { return hglrc; } } diff --git a/src/classes/com/sun/opengl/impl/x11/X11GLContext.java b/src/classes/com/sun/opengl/impl/x11/X11GLContext.java index fa0265e7e..b6c4fbfcd 100644 --- a/src/classes/com/sun/opengl/impl/x11/X11GLContext.java +++ b/src/classes/com/sun/opengl/impl/x11/X11GLContext.java @@ -302,7 +302,7 @@ public abstract class X11GLContext extends GLContextImpl { // Internals only below this point // - protected long getContext() { + public long getContext() { return context; } |