findConfig

fun findConfig(configSpec: EGLConfigSpec): EGLConfigWrapper

Returns a wrapper for EGL config matching a given specification.

If no matching EGL config was found, throws IllegalStateException.