From 19210d91a89f184d3425cedf499517952a2aaa61 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Sun, 2 Apr 2006 23:53:45 +0000 Subject: 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 --- src/classes/com/sun/opengl/impl/macosx/MacOSXGLContext.java | 2 +- src/classes/com/sun/opengl/impl/windows/WindowsGLContext.java | 2 +- src/classes/com/sun/opengl/impl/x11/X11GLContext.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/classes/com') 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; } -- cgit v1.2.3