diff options
author | Sven Gothel <[email protected]> | 2009-06-04 03:15:40 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2009-06-04 03:15:40 +0000 |
commit | 886dc3ffa4f55d1f37cf22cb4167aedf3bf8f69b (patch) | |
tree | 8231decd03b16a0d104e04a3f1f67d6d0e528910 /src/jogl/classes/com/sun | |
parent | 0c88b63fc45602d4ceabda377d03a6b9a4b289db (diff) |
Compile clean under windows
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1924 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/jogl/classes/com/sun')
-rw-r--r-- | src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java index 9ab878b2a..e336cc48d 100644 --- a/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java +++ b/src/jogl/classes/com/sun/opengl/impl/windows/wgl/WindowsWGLGraphicsConfigurationFactory.java @@ -33,6 +33,7 @@ package com.sun.opengl.impl.windows.wgl; import javax.media.nativewindow.*; +import javax.media.nativewindow.windows.*; import com.sun.nativewindow.impl.*; import javax.media.opengl.*; @@ -47,11 +48,7 @@ public class WindowsWGLGraphicsConfigurationFactory extends GraphicsConfiguratio protected static final boolean DEBUG = com.sun.opengl.impl.Debug.debug("GraphicsConfiguration"); public WindowsWGLGraphicsConfigurationFactory() { - Class awtDeviceClass = NWReflection.getClass("javax.media.nativewindow.awt.AWTGraphicsDevice"); - if(null!=awtDeviceClass) { - GraphicsConfigurationFactory.registerFactory(awtDeviceClass, this); - } - GraphicsConfigurationFactory.registerFactory(javax.media.nativewindow.AbstractGraphicsDevice.class, this); + GraphicsConfigurationFactory.registerFactory(javax.media.nativewindow.windows.WindowsGraphicsDevice.class, this); } public AbstractGraphicsConfiguration chooseGraphicsConfiguration(Capabilities capabilities, |