diff options
author | Sven Gothel <[email protected]> | 2011-10-29 15:11:43 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-29 15:11:43 +0200 |
commit | 64b8a2ac494ec1a63500bd4dbab2738fd00bd48c (patch) | |
tree | c7560cef5fe623a1e3bad442967e8b00b62863a7 /src/jogl/classes/jogamp/opengl/windows | |
parent | bc826eb2e216ce82a5e6bc61403e4eff2f338380 (diff) |
Win32: Reuse Platform's OS VersionNumber
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/windows')
-rw-r--r-- | src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java index b7941c3bb..cd22127a3 100644 --- a/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java +++ b/src/jogl/classes/jogamp/opengl/windows/wgl/WindowsWGLDrawableFactory.java @@ -204,7 +204,7 @@ public class WindowsWGLDrawableFactory extends GLDrawableFactoryImpl { } if ( isVendorATI() ) { - final VersionNumber winVersion = new VersionNumber(Platform.getOSVersion(), "."); + final VersionNumber winVersion = Platform.getOSVersionNumber(); final boolean isWinXPOrLess = winVersion.compareTo(winXPVersionNumber) <= 0; if(DEBUG) { System.err.println("needsCurrenContext4ARBPFDQueries: "+winVersion+" <= "+winXPVersionNumber+" = "+isWinXPOrLess+" - "+Platform.getOSVersion()); |