diff options
Diffstat (limited to 'src/classes/com/sun/javafx')
-rwxr-xr-x | src/classes/com/sun/javafx/newt/windows/WindowsWindow.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/classes/com/sun/javafx/newt/windows/WindowsWindow.java b/src/classes/com/sun/javafx/newt/windows/WindowsWindow.java index 7393326d3..bfaf79d42 100755 --- a/src/classes/com/sun/javafx/newt/windows/WindowsWindow.java +++ b/src/classes/com/sun/javafx/newt/windows/WindowsWindow.java @@ -113,10 +113,9 @@ public class WindowsWindow extends Window { private static long hInstance; private static synchronized long getHInstance() { if (hInstance == 0) { - // FIXME: will require modification once this is moved into its own DLL ("newt") - hInstance = LoadLibraryW("jogl"); + hInstance = LoadLibraryW("newt"); if (hInstance == 0) { - throw new RuntimeException("Error finding HINSTANCE for \"jogl\""); + throw new RuntimeException("Error finding HINSTANCE for \"newt\""); } } return hInstance; |