summaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorPhilip Langdale <philipl@overt.org>2021-11-02 20:26:47 -0700
committerPhilip Langdale <github.philipl@overt.org>2021-11-10 09:57:58 -0800
commit10d677575a0e6ea3deb7b824559535df6d5ed6d3 (patch)
treea17259dc9eca85f1d274f5b5eacfd9cf310bc703 /wscript
parente6a75075b22d8e620dc9645cc9cd1fa50bf45f16 (diff)
downloadmpv-10d677575a0e6ea3deb7b824559535df6d5ed6d3.tar.bz2
mpv-10d677575a0e6ea3deb7b824559535df6d5ed6d3.tar.xz
context_drm_egl: use gbm_surface_create_with_modifiers
The GBM supporting nvidia driver doesn't support creating surfaces without modifiers and using modifiers is more and more recommended as the right way to do this. Enumerating modifiers is painfully verbose, but necessary if we are to allow the driver to pick the best possible one.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/wscript b/wscript
index dec82d3465..a0227e648e 100644
--- a/wscript
+++ b/wscript
@@ -496,7 +496,7 @@ video_output_features = [
'name': '--gbm',
'desc': 'GBM',
'deps': 'gbm.h',
- 'func': check_pkg_config('gbm'),
+ 'func': check_pkg_config('gbm', '>= 17.1.0'),
} , {
'name': '--wayland-scanner',
'desc': 'wayland-scanner',