diff options
author | Sven Gothel <[email protected]> | 2011-10-29 15:14:21 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-29 15:14:21 +0200 |
commit | 34ef2815dd0f4dc84f35fe5bf72ea876d4b9e882 (patch) | |
tree | b79694f3104319ff7be9329511bf9fdbd9caf25d /src/jogl/classes/jogamp/opengl | |
parent | 6a770d1ec80a656db62feb8100e3fe58800e79af (diff) | |
parent | 48bc1b090b57eb8ec3cb2f9ff33b69c9d99704d7 (diff) |
Merge branch 'master' into osx_jawt_calayers
Diffstat (limited to 'src/jogl/classes/jogamp/opengl')
-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()); |