summaryrefslogtreecommitdiffstats
path: root/src/newt/classes/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-12-31 08:01:28 +0100
committerSven Gothel <[email protected]>2013-12-31 08:01:28 +0100
commite7032ae9ca4b754bd9737f86d9496211e9155db4 (patch)
tree244965b4e43d22473f308badbd8dbfd5a1d2683f /src/newt/classes/jogamp
parent852fcbf1b8d87e35884082e792ff0ac6fdeed3a7 (diff)
NEWT Cleanup - Remove Type Casts and OSX Newt/Fmod Workaround (Early WindowImpl initialization)
Diffstat (limited to 'src/newt/classes/jogamp')
-rw-r--r--src/newt/classes/jogamp/newt/WindowImpl.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java
index d06eb3e25..7a7e69e48 100644
--- a/src/newt/classes/jogamp/newt/WindowImpl.java
+++ b/src/newt/classes/jogamp/newt/WindowImpl.java
@@ -255,22 +255,6 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer
private ArrayList<WindowListener> windowListeners = new ArrayList<WindowListener>();
private boolean repaintQueued = false;
- /**
- * Workaround for initialization order problems on Mac OS X
- * between native Newt and (apparently) Fmod -- if Fmod is
- * initialized first then the connection to the window server
- * breaks, leading to errors from deep within the AppKit
- */
- public static void init(String type) {
- if (NativeWindowFactory.TYPE_MACOSX.equals(type)) {
- try {
- getWindowClass(type);
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- }
-
//
// Construction Methods
//