From d903df82c0b867ccabc6e73ccbf72ca7fd468e9e Mon Sep 17 00:00:00 2001
From: Kenneth Russel <kbrussel@alum.mit.edu>
Date: Mon, 14 Nov 2005 20:28:28 +0000
Subject: Deleted vestigial code from Windows choosePixelFormat path pointed
 out by Justin Couch

git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@446 232f8b59-042b-4e1e-8c03-345bb8c30851
---
 src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java | 2 --
 1 file changed, 2 deletions(-)

(limited to 'src')

diff --git a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
index abbc9a511..e0edfdc38 100644
--- a/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
+++ b/src/classes/com/sun/opengl/impl/windows/WindowsGLDrawable.java
@@ -99,8 +99,6 @@ public abstract class WindowsGLDrawable extends GLDrawableImpl {
       GLCapabilities[] availableCaps = null;
       int numFormats = 0;
       pfd = newPixelFormatDescriptor();
-      GraphicsConfiguration config = component.getGraphicsConfiguration();
-      GraphicsDevice device = config.getDevice();
       // Produce a recommended pixel format selection for the GLCapabilitiesChooser.
       // Use wglChoosePixelFormatARB if user requested multisampling and if we have it available
       WindowsGLDrawable dummyDrawable = null;
-- 
cgit v1.2.3