mirror of
https://github.com/brl/mutter.git
synced 2025-01-23 18:09:10 +00:00
27d74f09df
The check for whether to use ‘stride’ instead of ‘pitch’ from the GBM API tries to check whether the GBM version is >= 8.1.0. However it was comparing the major and micro components independently so any version with the minor part set to 0 would fail. The GBM version in Mesa master is now 9.0.0 which breaks it. This patch changes it to check the version using the COGL_VERSION_ENCODE macro instead. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 38f1dc58b35023f9e6bbc0db746b1554bd0377fc)