aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.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/windows/WindowsGLDrawable.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/windows/WindowsGLDrawable.java')
-rw-r--r--src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
index 1b870d391..b4e059b72 100644
--- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
+++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
@@ -39,10 +39,6 @@
package com.sun.opengl.impl.windows;
-import java.awt.Component;
-import java.awt.GraphicsConfiguration;
-import java.awt.GraphicsDevice;
-
import javax.media.opengl.*;
import com.sun.opengl.impl.*;
@@ -50,7 +46,6 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl {
protected static final boolean DEBUG = Debug.debug("WindowsGLDrawable");
protected long hdc;
- protected Component component;
protected GLCapabilities capabilities;
protected GLCapabilitiesChooser chooser;
protected boolean pixelFormatChosen;
@@ -58,10 +53,8 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl {
protected static final int MAX_PFORMATS = 256;
protected static final int MAX_ATTRIBS = 256;
- public WindowsGLDrawable(Component component,
- GLCapabilities capabilities,
+ public WindowsGLDrawable(GLCapabilities capabilities,
GLCapabilitiesChooser chooser) {
- this.component = component;
this.capabilities = (GLCapabilities) capabilities.clone();
this.chooser = chooser;
}