summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/javax/media/opengl/GLRunnable.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-08-09 20:22:34 +0200
committerSven Gothel <[email protected]>2011-08-09 20:22:34 +0200
commitfefadb609d1135b0d5e13e9e872ca82fc2d7613c (patch)
treec31a8b9c664f28888a489e5f705ad124679b4c70 /src/jogl/classes/javax/media/opengl/GLRunnable.java
parent78c66acc25a89687ae898a52f885de8dd8909dd7 (diff)
parent5500015001d6e6043959f5f0252c254632f0d381 (diff)
Merge remote-tracking branch 'rsantina/master'
Diffstat (limited to 'src/jogl/classes/javax/media/opengl/GLRunnable.java')
-rw-r--r--src/jogl/classes/javax/media/opengl/GLRunnable.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/jogl/classes/javax/media/opengl/GLRunnable.java b/src/jogl/classes/javax/media/opengl/GLRunnable.java
index de0f5df48..cbd086c77 100644
--- a/src/jogl/classes/javax/media/opengl/GLRunnable.java
+++ b/src/jogl/classes/javax/media/opengl/GLRunnable.java
@@ -41,7 +41,11 @@ public interface GLRunnable {
/**
* Called by the drawable to initiate one-shot OpenGL commands by the
* client, like {@link GLEventListener#display(GLAutoDrawable)}.
+ *
+ * @param drawable the associated drawable the implementation shall use
+ * @return false if impl invalidates the back buffers, hence {@link GLAutoDrawable#display()} will
+ * issue another {@link GLEventListener#display(GLAutoDrawable)} call. Otherwise true.
*/
- void run(GLAutoDrawable drawable);
+ boolean run(GLAutoDrawable drawable);
}