EGLint config[] =
{
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_RENDERABLE_TYPE, EGL_OPENGL_ES2_BIT,
EGL_NONE
};
EGLint numconfigs;
EGLint format;
eglChooseConfig(display, config, &egl_config, 1, &numconfigs);
eglGetConfigAttrib(display, &egl_config, EGL_NATIVE_VISUAL_ID, &format);
I get back a single config but when I make the eglGetConfigAttrib call I get the following error in logcat:
libEGL : validate_display_config:202 error 3005 (EGL_BAD_CONFIG)
However everything works fine (context and window surface have no errors) and the app functions as I would expect. Has anyone seen this before or does anyone have ideas on why I would get this message?
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/q3UcaIEBqz8J.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.