public void onDrawFrame(GL10 gl) {
   GL2JNILib.step();
 }
Beispiel #2
0
 @Override
 public void onCreate() {
   super.onCreate();
   GL2JNILib.onApplicationCreate();
 }
 public void onSurfaceChanged(GL10 gl, int width, int height) {
   GL2JNILib.init(width, height);
 }
 public void onSurfaceChanged(GL10 gl, int width, int height) {
   Log.d("Java", "OnSurfaceChanged");
   GL2JNILib.init(GL2JNILib.asset, width, height);
 }