diff options
author | Eric Engestrom <[email protected]> | 2020-07-11 00:42:08 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-07-16 22:11:25 +0000 |
commit | bc38fe8425f402c86d8446e92cc4a3be492d0aa1 (patch) | |
tree | a30f69a32b4fe5f9795c047582eab016333dfeaf /src/egl/drivers/dri2/egl_dri2.c | |
parent | 2e3eb0c90b7c70a28a50e424648b00e300940b53 (diff) |
egl: inline fallback for get_sync_values
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Frank Binns <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5861>
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.c')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index a88f422bfac..ea8f15de114 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -2347,6 +2347,8 @@ dri2_get_sync_values_chromium(_EGLDisplay *disp, _EGLSurface *surf, EGLuint64KHR *sbc) { struct dri2_egl_display *dri2_dpy = dri2_egl_display(disp); + if (!dri2_dpy->vtbl->get_sync_values) + return EGL_FALSE; return dri2_dpy->vtbl->get_sync_values(disp, surf, ust, msc, sbc); } |