aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes/com/sun/javafx/newt/windows
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2008-06-26 03:49:17 +0000
committerKenneth Russel <[email protected]>2008-06-26 03:49:17 +0000
commit2a07b5aad1d5dcf9c699e74c7e94d98f827fd4f9 (patch)
treea1e992a32b537000d81c5e744370d648aa8c1908 /src/classes/com/sun/javafx/newt/windows
parent126dad53ff9cbc6581390952eadee8a5335cdcab (diff)
Bug fixes to compile and run on Windows. Added more debugging code.
Not working yet due to mismatch between Newt's getWindowHandle(), which returns an HWND, and the WGL code, which expects an HDC. Work still ongoing. git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1694 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/javafx/newt/windows')
-rwxr-xr-xsrc/classes/com/sun/javafx/newt/windows/WindowsWindow.java5
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;