[client] egl: warn when EGL_EXT_buffer_age is not supported

This commit is contained in:
Quantum 2021-08-02 21:43:33 -04:00 committed by Geoffrey McRae
parent 87aac8cf03
commit 8545d15c85

View file

@ -735,6 +735,8 @@ static bool egl_render_startup(void * opaque, bool useDMA)
} }
this->hasBufferAge = util_hasGLExt(client_exts, "EGL_EXT_buffer_age"); this->hasBufferAge = util_hasGLExt(client_exts, "EGL_EXT_buffer_age");
if (!this->hasBufferAge)
DEBUG_WARN("GL_EXT_buffer_age is not supported, will not perform as well.");
if (g_egl_dynProcs.glEGLImageTargetTexture2DOES) if (g_egl_dynProcs.glEGLImageTargetTexture2DOES)
{ {