Code example for GL10

Methods: glFlush

0
  } 
 
  @Override 
  public void onDrawFrame( GL10 gl )
  { 
    draw.setGL( gl );
 
    Amanatsu.input.update();
 
    draw.clearScreen();
    loop.run( draw );
    gl.glFlush();
 
    if ( view != nextview )
    { 
      view = nextview;
      loop.setGameView( view );
    } 
 
    now = System.currentTimeMillis();
    progress = now - before;