From 783f2ee31cd7026f5bb2bcd144e8cae75accda20 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 28 Jul 2011 16:20:43 +0200 Subject: adapt to gluegen Platform change --- .../classes/jogamp/nativewindow/NativeWindowFactoryImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nativewindow/classes') diff --git a/src/nativewindow/classes/jogamp/nativewindow/NativeWindowFactoryImpl.java b/src/nativewindow/classes/jogamp/nativewindow/NativeWindowFactoryImpl.java index e3322ac45..d34d4e58f 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/NativeWindowFactoryImpl.java +++ b/src/nativewindow/classes/jogamp/nativewindow/NativeWindowFactoryImpl.java @@ -88,7 +88,7 @@ public class NativeWindowFactoryImpl extends NativeWindowFactory { // Assume Linux, Solaris, etc. Should probably test for these explicitly. windowClassName = "jogamp.nativewindow.jawt.x11.X11JAWTWindow"; } else { - throw new IllegalArgumentException("OS " + Platform.getOS() + " not yet supported"); + throw new IllegalArgumentException("OS " + Platform.getOSName() + " not yet supported"); } nativeWindowConstructor = ReflectionUtil.getConstructor( -- cgit v1.2.3