From a8fecb87c5eaaefc9ca6272e3b59ef88d293dd6d Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Wed, 23 Sep 2009 14:48:07 -0700 Subject: Create samples showing how to call OpenGL from JNI libraries. --- opengl/java/android/opengl/GLSurfaceView.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opengl/java') diff --git a/opengl/java/android/opengl/GLSurfaceView.java b/opengl/java/android/opengl/GLSurfaceView.java index b3a19e3..4599b77 100644 --- a/opengl/java/android/opengl/GLSurfaceView.java +++ b/opengl/java/android/opengl/GLSurfaceView.java @@ -296,7 +296,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback * a context will be created with no shared context and * with a null attribute list. */ - public void setContextFactory(EGLContextFactory factory) { + public void setEGLContextFactory(EGLContextFactory factory) { checkRenderThreadState(); mEGLContextFactory = factory; } @@ -311,7 +311,7 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback * If this method is not called, then by default * a window surface will be created with a null attribute list. */ - public void setWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { + public void setEGLWindowSurfaceFactory(EGLWindowSurfaceFactory factory) { checkRenderThreadState(); mEGLWindowSurfaceFactory = factory; } -- cgit v1.1