Code example for EGLContext

Methods: getGL

0
		} 
		catch (InterruptedException e)
		{ 
			e.printStackTrace();
		} 
		mEgl.eglMakeCurrent(mEglDisplay, mEglSurface, mEglSurface, mEglContext);
//		if (mEgl.eglGetError() == EGL11.EGL_CONTEXT_LOST) 
//			android.os.Process.killProcess(android.os.Process.myPid()); 
 
		GL gl = mEglContext.getGL();
 
		return gl;
	} 
 
	/** 
	 * Display the current render surface. 
	 *  
	 * @return false if the context has been lost. 
	 */ 
	public boolean swap() 
	{