This commit is contained in:
codeanticode
2014-07-22 17:28:05 -04:00
parent 79b287fdb0
commit 90f84a3b94
+1 -1
View File
@@ -167,7 +167,7 @@ public class PJOGL extends PGL {
/** This countdown latch is used to maintain the synchronization between
* Processing's drawing thread and JOGL's rendering thread */
protected CountDownLatch drawLatch;
protected CountDownLatch drawLatch = new CountDownLatch(0);
/** Flag used to do request final display() call to make sure that the
* buffers are properly swapped.