From 4808e9e7e9f2c6991bc25db86f2e80e42ee163c8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 6 Aug 2011 10:08:01 +0200 Subject: Android: cosmetics --- .../classes/jogamp/newt/driver/android/NEWTSurfaceView.java | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/newt/classes') diff --git a/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java b/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java index 8d163f874..4cba7e77e 100644 --- a/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java +++ b/src/newt/classes/jogamp/newt/driver/android/NEWTSurfaceView.java @@ -59,18 +59,6 @@ public class NEWTSurfaceView extends SurfaceView implements Callback2 { public void surfaceCreated(SurfaceHolder holder) { Surface surface = getHolder().getSurface(); - - /** - EGL10 mEgl = (EGL10) EGLContext.getEGL(); - - EGLDisplay mEglDisplay = mEgl.eglGetDisplay(EGL10.EGL_DEFAULT_DISPLAY); - - if (mEglDisplay == EGL10.EGL_NO_DISPLAY) { - throw new RuntimeException("eglGetDisplay failed"); - } - Log.d(MD.TAG, "EGL XXXXXX " + mEgl + ", " + mEglDisplay); - */ - Log.d(MD.TAG, "YYYYYYYYYY "); Log.d(MD.TAG, "surfaceCreated - 0 - isValid: "+surface.isValid()); GLProfile.initSingleton(true); Log.d(MD.TAG, "surfaceCreated - 1"); -- cgit v1.2.3