diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2016-11-22 11:12:35 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-11-24 16:34:42 +0000 |
commit | c10e1fb4408317c15886c0dadc80d7dce7ab23ff (patch) | |
tree | 3127f81427899a3b8079ab69112a175f61e6a02d | |
parent | f77b0972232af2d53241983f020449d5cdbdfa9a (diff) | |
download | external_mesa3d-c10e1fb4408317c15886c0dadc80d7dce7ab23ff.zip external_mesa3d-c10e1fb4408317c15886c0dadc80d7dce7ab23ff.tar.gz external_mesa3d-c10e1fb4408317c15886c0dadc80d7dce7ab23ff.tar.bz2 |
gbm: request correct version of the DRI2_FENCE extension
There is no version 2 of the DRI2_FENCE extension. So only a request
for version 1 has a chance to succeed.
Fixes: 74b1969d717f (gbm: wire up fence extension)
Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
(cherry picked from commit d9a3ad94cac34c51603660af6647290d238f64bc)
-rw-r--r-- | src/gbm/backends/dri/gbm_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c index 51c4117..88f4428 100644 --- a/src/gbm/backends/dri/gbm_dri.c +++ b/src/gbm/backends/dri/gbm_dri.c @@ -245,7 +245,7 @@ struct dri_extension_match { static struct dri_extension_match dri_core_extensions[] = { { __DRI2_FLUSH, 1, offsetof(struct gbm_dri_device, flush) }, { __DRI_IMAGE, 1, offsetof(struct gbm_dri_device, image) }, - { __DRI2_FENCE, 2, offsetof(struct gbm_dri_device, fence), 1 }, + { __DRI2_FENCE, 1, offsetof(struct gbm_dri_device, fence), 1 }, { NULL, 0, 0 } }; |