- Code: Select all
The application GL2JNI (process com.example.gl2jni) has stopped unexpectedly. Please try again.
What could be the problem?
Thanks for replies.
The application GL2JNI (process com.example.gl2jni) has stopped unexpectedly. Please try again.

public EGLConfig chooseConfig(EGL10 egl, EGLDisplay display) {
/* Get the number of minimally matching EGL configurations
*/
int[] num_config = new int[1];
egl.eglChooseConfig(display, s_configAttribs2, null, 0, num_config);
int numConfigs = num_config[0];
if (numConfigs <= 0) {
throw new IllegalArgumentException("No configs match configSpec"); // <---Exception Thrown here
}



Users browsing this forum: No registered users and 7 guests