From 1f64245f42db1bf5b5ff63ff4425b4dfd9e1b70d Mon Sep 17 00:00:00 2001 From: Kenneth Russel Date: Fri, 27 Jun 2008 00:00:33 +0000 Subject: Mac OS X port of new JOGL and Newt. Currently leverages the AWT; will re-host Newt on lower level code when a port to an AWT-less Mac OS X-based mobile device is done. Added support to NativeWindow and Newt for wrapping a Java-based window from a toolkit like the AWT, and added appropriate code to the GLDrawableFactory implementations to recognize and handle these NativeWindows. Fixed naming of native method for JAWT_DrawingSurfaceInfo.platformInfo0(). Fixed linker definition on Mac and cleaned up Windows variants. Fixed intptr_t definitions in ES1 and ES2 native code. Added workaround for GLU type reference in com.sun.opengl.util.texture.Texture. Fixed bugs in Newt event dispatching. Tested with RedSquare demo on Mac OS X. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1698 232f8b59-042b-4e1e-8c03-345bb8c30851 --- src/classes/com/sun/javafx/newt/Display.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/classes/com/sun/javafx/newt/Display.java') diff --git a/src/classes/com/sun/javafx/newt/Display.java b/src/classes/com/sun/javafx/newt/Display.java index 2aa55246f..cd3aa75d0 100755 --- a/src/classes/com/sun/javafx/newt/Display.java +++ b/src/classes/com/sun/javafx/newt/Display.java @@ -46,7 +46,7 @@ public abstract class Display { } else if (NewtFactory.X11.equals(type)) { displayClass = Class.forName("com.sun.javafx.newt.x11.X11Display"); } else if (NewtFactory.MACOSX.equals(type)) { - displayClass = Class.forName("com.sun.javafx.newt.macosx.MacOSXDisplay"); + displayClass = Class.forName("com.sun.javafx.newt.awt.AWTDisplay"); } else { throw new RuntimeException("Unknown display type \"" + type + "\""); } -- cgit v1.2.3