diff options
author | Sven Gothel <[email protected]> | 2010-04-22 16:19:34 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-22 16:19:34 +0200 |
commit | 94c4ef007321f24177b32174d1ab24c91271da1f (patch) | |
tree | 2c95c01405f7305429662b9f6b2309a8705aae17 /src/newt | |
parent | 11ddcfe64ab2ef99f51bdd44e598703995662ae2 (diff) |
Migrating gl2/gl3/gl4 -> gldesktop. Use JOGL_GLDESKTOP_.. when using profile.jogl script
Diffstat (limited to 'src/newt')
-rwxr-xr-x | src/newt/native/X11Window.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c index 9b5c420c9..75237a210 100755 --- a/src/newt/native/X11Window.c +++ b/src/newt/native/X11Window.c @@ -367,14 +367,13 @@ static uintptr_t getPtrOut32Long(unsigned long * src) { } static void setJavaWindowProperty(JNIEnv *env, Display *dpy, Window window, jlong javaObjectAtom, jobject jwindow) { - unsigned long jogl_java_object_data[2]; // FIXME uint32_t ? + unsigned long jogl_java_object_data[2]; // X11 is based on 'unsigned long' int nitems_32 = putPtrIn32Long( jogl_java_object_data, (uintptr_t) jwindow); { jobject test = (jobject) getPtrOut32Long(jogl_java_object_data); if( ! (jwindow==test) ) { - _throwNewRuntimeException(dpy, env, "Internal Error .. Encoded Window ref not the same %p != %p !", jwindow, test); - return; + _FatalError(env, "Internal Error .. Encoded Window ref not the same %p != %p !", jwindow, test); } } |