From ad056ab1c455a0be99d83e2e50d5826e98c1f5d5 Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Mon, 14 Nov 2005 20:40:27 +0000 Subject: Deleted unnecessary references to AWT Component in base GLDrawable classes on Windows and X11 platforms git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@449 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java') diff --git a/src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java b/src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java index 810de42c5..b1a3ebac7 100644 --- a/src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java +++ b/src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java @@ -49,6 +49,8 @@ public class X11OnscreenGLDrawable extends X11GLDrawable { public static final int LOCK_SURFACE_CHANGED = 2; public static final int LOCK_SUCCESS = 3; + protected Component component; + // Variables for lockSurface/unlockSurface private JAWT_DrawingSurface ds; private JAWT_DrawingSurfaceInfo dsi; @@ -67,7 +69,8 @@ public class X11OnscreenGLDrawable extends X11GLDrawable { protected boolean realized; public X11OnscreenGLDrawable(Component component) { - super(component, null, null); + super(null, null); + this.component = component; } public GLContext createContext(GLContext shareWith) { -- cgit v1.2.3