diff options
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch index 3458c19199..346b217585 100644 --- a/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch +++ b/meta/recipes-graphics/mesa/files/0003-Allow-enable-DRI-without-DRI-drivers.patch | |||
@@ -23,7 +23,7 @@ index 0e50bb26c0a..de065c290d6 100644 | |||
23 | with_dri_swrast = dri_drivers.contains('swrast') | 23 | with_dri_swrast = dri_drivers.contains('swrast') |
24 | 24 | ||
25 | -with_dri = dri_drivers.length() != 0 and dri_drivers != [''] | 25 | -with_dri = dri_drivers.length() != 0 and dri_drivers != [''] |
26 | +with_dri = get_option('dri') or (_drivers.length() != 0 and _drivers != ['']) | 26 | +with_dri = get_option('dri') or (dri_drivers.length() != 0 and dri_drivers != ['']) |
27 | 27 | ||
28 | gallium_drivers = get_option('gallium-drivers') | 28 | gallium_drivers = get_option('gallium-drivers') |
29 | if gallium_drivers.contains('auto') | 29 | if gallium_drivers.contains('auto') |