From 693004e798e4933e55b8ede78e291692c01e508c Mon Sep 17 00:00:00 2001 From: codeanticode Date: Mon, 3 Jun 2013 00:52:01 -0400 Subject: [PATCH] never skip execution of listener's display(), it affects focus (?) --- core/src/processing/opengl/PGL.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/src/processing/opengl/PGL.java b/core/src/processing/opengl/PGL.java index 1fe525f8a..1013a5559 100644 --- a/core/src/processing/opengl/PGL.java +++ b/core/src/processing/opengl/PGL.java @@ -2559,8 +2559,6 @@ public class PGL { @Override public void display(GLAutoDrawable glDrawable) { - if (drawLatch == null || drawLatch.getCount() == 0) return; - drawable = glDrawable; context = glDrawable.getContext(); @@ -2636,9 +2634,7 @@ public class PGL { } pg.parent.handleDraw(); - if (drawLatch != null) { - drawLatch.countDown(); - } + drawLatch.countDown(); } @Override