Hi, i try add msaa to my project, but eglChooseConfig(g_display, configAttributes, &config, 1, &countConfig) returning countConfig = 0, how i can check support msaa ?
code:
EGLint configAttributes[] =
{
EGL_RED_SIZE, 8,
EGL_GREEN_SIZE, 8,
EGL_BLUE_SIZE, 8,
EGL_ALPHA_SIZE, 8,
EGL_DEPTH_SIZE, 24,
EGL_STENCIL_SIZE, 8,
EGL_SAMPLE_BUFFERS, 1,
EGL_SAMPLES, 4,
EGL_NONE
};
if(EGL_FALSE == eglChooseConfig(g_display, configAttributes, &config, 1, &countConfig)) || countConfig != 1)
{
MB(L"eglChooseConfig - Failed");
return 0;
}