From a2b164f268386717aafb70c7ac4a5ab689e13b75 Mon Sep 17 00:00:00 2001 From: pelya Date: Mon, 17 May 2010 18:45:27 +0300 Subject: [PATCH] Yay, it's working! Now I'll test OpenGL --- alienblaster/project/src/DemoActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/alienblaster/project/src/DemoActivity.java b/alienblaster/project/src/DemoActivity.java index 87bcc1839..d9236a709 100644 --- a/alienblaster/project/src/DemoActivity.java +++ b/alienblaster/project/src/DemoActivity.java @@ -151,10 +151,9 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer { nativeInit(); // Calls main() and never returns, hehe - we'll call eglSwapBuffers() from native code } - + public int swapBuffers() // Called from native code, returns 1 on success, 0 when GL context lost (user put app to background) { - System.out.println("Java: swapBuffers() called"); return super.SwapBuffers() ? 1 : 0; }