meson: Don't require DRI classic swrast for OSMesa.
authorEric Anholt <eric@anholt.net>
Thu, 18 Jul 2019 21:45:57 +0000 (14:45 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 13 Aug 2019 17:29:34 +0000 (10:29 -0700)
OSMesa doesn't care about this build option, it links against
src/mesa/swrast regardless.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
meson.build

index 5605b92b05d0623109dacfd7b0fb4dbc7b352c8d..9c8768bbad0af0320b78c639b61068e2f2f99f91 100644 (file)
@@ -1341,9 +1341,6 @@ else
 endif
 
 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