private EGLConfig ChooseConfigEGL(EGLConfig[] configs) { if (configs.Length == 0) { throw new NotSupportedException("The graphic device configuration demanded is not supported."); } var readableConfigs = new UserReadableEglConfig[configs.Length]; // convert the configs into user readable configs for (int i = 0; i < configs.Length; i++) { readableConfigs[i] = EglConfigToUserReadableEglConfig(configs[i]); } return(configs[0]); }
private EGLConfig ChooseConfigEGL(EGLConfig[] configs) { if(configs.Length == 0) throw new NotSupportedException("The graphic device configuration demanded is not supported."); var readableConfigs = new UserReadableEglConfig[configs.Length]; // convert the configs into user readable configs for (int i = 0; i < configs.Length; i++) readableConfigs[i] = EglConfigToUserReadableEglConfig(configs[i]); return configs[0]; }