mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-17 09:10:16 +01:00
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:74b1969d71(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 commitd9a3ad94ca)
This commit is contained in:
parent
f77b097223
commit
c10e1fb440
1 changed files with 1 additions and 1 deletions
|
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue