summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarad Gautam <varadgautam@gmail.com>2016-10-20 07:58:17 (GMT)
committerVarad Gautam <varadgautam@gmail.com>2016-10-20 07:58:17 (GMT)
commit2a139678bd77a373781d85a5e6ec88bd94c069f3 (patch)
tree8a1db8b47e4c28782336d9b166b995f4b9229ae4
parent07aa0cc8121626dac35be57313fb6b2a90651260 (diff)
downloadmesa-2a139678bd77a373781d85a5e6ec88bd94c069f3.tar.gz
mesa-2a139678bd77a373781d85a5e6ec88bd94c069f3.tar.xz
egl_dri2: check for correct __DRIimage extension version
Signed-off-by: Varad Gautam <varadgautam@gmail.com>
-rw-r--r--src/egl/drivers/dri2/egl_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
index 2d2488e..7d6370f 100644
--- a/src/egl/drivers/dri2/egl_dri2.c
+++ b/src/egl/drivers/dri2/egl_dri2.c
@@ -722,7 +722,7 @@ dri2_setup_screen(_EGLDisplay *disp)
dri2_dpy->image->createImageFromDmaBufs2)) {
disp->Extensions.EXT_image_dma_buf_import = EGL_TRUE;
}
- if (dri2_dpy->image->base.version >= 12 &&
+ if (dri2_dpy->image->base.version >= 14 &&
dri2_dpy->image->createImageFromDmaBufs2) {
disp->Extensions.EXT_image_dma_buf_import_modifiers = EGL_TRUE;
}