diff options
author | Rami Santina <[email protected]> | 2011-08-05 12:35:22 +0300 |
---|---|---|
committer | Rami Santina <[email protected]> | 2011-08-05 12:35:22 +0300 |
commit | f98a8e29b46b6cfbd2c3e695a02093b19468e95d (patch) | |
tree | b4b4778ade414a35c9e3756e739d5dba57da6e6d /src/nativewindow | |
parent | 94d9bcebaa382c87cb4baa6be4b85c8789a140dd (diff) | |
parent | c43a0f3afdcd3c90aea1f9b233e113ab2bd83f8a (diff) |
Merge branch 'master' of http://github.com/sgothel/jogl
Diffstat (limited to 'src/nativewindow')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index 3b71555b4..ee6d44d48 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -62,6 +62,9 @@ public abstract class NativeWindowFactory { /** X11 type, as retrieved with {@link #getNativeWindowType(boolean)} */ public static final String TYPE_X11 = "X11"; + /** Android/EGL type, as retrieved with {@link #getNativeWindowType(boolean)}*/ + public static final String TYPE_ANDROID = "ANDROID"; + /** Mac OS X type, as retrieved with {@link #getNativeWindowType(boolean)} */ public static final String TYPE_MACOSX = "MacOSX"; @@ -101,7 +104,7 @@ public abstract class NativeWindowFactory { private static String _getNativeWindowingType() { switch(Platform.OS_TYPE) { case ANDROID: - throw new RuntimeException(Platform.OS_TYPE+" n/a yet"); + return TYPE_ANDROID; case MACOS: return TYPE_MACOSX; case WINDOWS: |