aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-06-12 04:00:21 +0200
committerSven Gothel <[email protected]>2011-06-12 04:00:21 +0200
commitd578d3c3f1d3d8df4912ec259a186bfe562a448c (patch)
tree26696592673ba16d05af962bf5e87e6f4687b2df
parentbd1c8685d10a82108f959aae5a2f39b5570446be (diff)
Minor editing (compile script, X11Window.c - cleanups)
-rwxr-xr-xmake/scripts/make.jogl.all.linux-x86_64.sh2
-rw-r--r--src/newt/native/X11Window.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/make/scripts/make.jogl.all.linux-x86_64.sh b/make/scripts/make.jogl.all.linux-x86_64.sh
index b89de7465..aab3eecae 100755
--- a/make/scripts/make.jogl.all.linux-x86_64.sh
+++ b/make/scripts/make.jogl.all.linux-x86_64.sh
@@ -52,7 +52,7 @@ echo LIBGL_DEBUG: $LIBGL_DEBUG 2>&1 | tee -a $LOGF
# -Djavacdebug="true" \
# -Djavacdebuglevel="source,lines,vars" \
-BUILD_ARCHIVE=true \
+# BUILD_ARCHIVE=true \
ant \
$CUSTOMLIBDIR \
-Djavacdebuglevel="source,lines,vars" \
diff --git a/src/newt/native/X11Window.c b/src/newt/native/X11Window.c
index 5414de966..add9fa604 100644
--- a/src/newt/native/X11Window.c
+++ b/src/newt/native/X11Window.c
@@ -513,9 +513,9 @@ JNIEXPORT void JNICALL Java_jogamp_newt_x11_X11Display_DispatchMessages0
char keyChar = 0;
char text[255];
- // num_events = XPending(dpy); // I/O Flush ..
- // num_events = XEventsQueued(dpy, QueuedAfterFlush); // I/O Flush only of no already queued events are available
- // num_events = XEventsQueued(dpy, QueuedAlready); // no I/O Flush at all, doesn't work on some cards (eg ATI)
+ // QueuedAlready : No I/O Flush or system call doesn't work on some cards (eg ATI) ?)
+ // QueuedAfterFlush == XPending(): I/O Flush only if no already queued events are available
+ // QueuedAfterReading : QueuedAlready + if queue==0, attempt to read more ..
if ( 0 >= XEventsQueued(dpy, QueuedAfterFlush) ) {
// DBG_PRINT( "X11: DispatchMessages 0x%X - Leave 1\n", dpy);
return;