public EGLConfig GetGLConfigFromContext( EGLCONTEXT context ) { #warning CAN NOT CAST EGLCONFIG > INT[], how's that possible? :S throw new NotSupportedException(); //EGLConfig glConfig = null; //if (!Javax.Microedition.Khronos.Egl.EGLContext.EGL11.EglQueryContext(_glDisplay, context, // Javax.Microedition.Khronos.Egl.EGL10Consts.EglConfigId, null)) //{ // throw new AxiomException("Fail to get config from context"); //} //return glConfig; }