never skip execution of listener's display(), it affects focus (?)

This commit is contained in:
codeanticode
2013-06-03 00:52:01 -04:00
parent 44cbc3131d
commit 693004e798

View File

@@ -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