docs/release-calendar: update - 17.3.0-rc2 is out
[mesa.git] / meson.build
index ef06ea8f6b755ccbb6ce567a972ccfcd5211a0e3..8988deae7838d5d5d68150ae12a63cf7d0bff95d 100644 (file)
@@ -715,6 +715,9 @@ if with_osmesa != 'none'
   if with_osmesa == 'classic' and not with_dri_swrast
     error('OSMesa classic requires dri (classic) swrast.')
   endif
+  if with_osmesa == 'gallium' and not with_gallium_softpipe
+    error('OSMesa gallium requires gallium softpipe or llvmpipe.')
+  endif
   osmesa_lib_name = 'OSMesa'
   osmesa_bits = get_option('osmesa-bits')
   if osmesa_bits != '8'