예제 #1
0
 @Override
 public final void run() {
   // Lock: Locked Surface/Window by display _and_ MakeCurrent/Release
   if (sendReshape) {
     helper.reshape(GLAutoDrawableBase.this, 0, 0, getWidth(), getHeight());
     sendReshape = false;
   }
   helper.display(GLAutoDrawableBase.this);
   fpsCounter.tickFPS();
 }