aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2005-11-14 20:40:27 +0000
committerKenneth Russel <[email protected]>2005-11-14 20:40:27 +0000
commitad056ab1c455a0be99d83e2e50d5826e98c1f5d5 (patch)
tree0f87ef9aa3d31ed8d8e106e2e4777206849afc27 /src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java
parentb81f433446e36815a2dfe9b9e42f516d5a4a9e9b (diff)
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
Diffstat (limited to 'src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java')
-rw-r--r--src/classes/com/sun/opengl/impl/x11/X11OnscreenGLDrawable.java5
1 files changed, 4 insertions, 1 deletions
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) {