forked from enlightenment/efl
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:
parent
833444ac2a
commit
3b50c86985
|
@ -230,10 +230,7 @@ gl_extn_veto(Render_Engine *re)
|
||||||
glsym_eglSetDamageRegionKHR = NULL;
|
glsym_eglSetDamageRegionKHR = NULL;
|
||||||
}
|
}
|
||||||
if (!strstr(str, "EGL_EXT_buffer_age"))
|
if (!strstr(str, "EGL_EXT_buffer_age"))
|
||||||
{
|
_extn_have_buffer_age = 0;
|
||||||
if (!strstr(str, "EGL_KHR_partial_update"))
|
|
||||||
_extn_have_buffer_age = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!strstr(str, "EGL_KHR_partial_update"))
|
if (!strstr(str, "EGL_KHR_partial_update"))
|
||||||
glsym_eglSetDamageRegionKHR = NULL;
|
glsym_eglSetDamageRegionKHR = NULL;
|
||||||
|
|
Loading…
Reference in New Issue