wxGLCanvas EGL: don't assert if eglChooseConfig fails

This assert prevents wxGLCanvas::IsDisplaySupported() from working properly
in the case where unsupported attributes are passed.
This commit is contained in:
Scott Talbert
2021-12-30 10:10:56 -05:00
committed by paulcor
parent 1700f62fd4
commit d68c3709e4

View File

@@ -578,7 +578,6 @@ EGLConfig *wxGLCanvasEGL::InitConfig(const wxGLAttributes& dispAttrs)
}
else
{
wxFAIL_MSG("eglChooseConfig failed");
delete config;
return NULL;
}