gl_drm: Properly disable EGL_EXT_buffer_age when we don't have it

If we don't have EGL_EXT_buffer_age then we don't have buffer age - it's
a completely independent extension to KHR partial update.

This partially fixes partial update on recent mali drivers.
This commit is contained in:
Derek Foreman 2017-03-17 15:04:47 -05:00
parent 833444ac2a
commit 3b50c86985
1 changed files with 1 additions and 4 deletions

View File

@ -230,10 +230,7 @@ gl_extn_veto(Render_Engine *re)
glsym_eglSetDamageRegionKHR = NULL;
}
if (!strstr(str, "EGL_EXT_buffer_age"))
{
if (!strstr(str, "EGL_KHR_partial_update"))
_extn_have_buffer_age = 0;
}
_extn_have_buffer_age = 0;
if (!strstr(str, "EGL_KHR_partial_update"))
glsym_eglSetDamageRegionKHR = NULL;