mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 07:19:50 +00:00
meson: Don't require DRI classic swrast for OSMesa.
OSMesa doesn't care about this build option, it links against src/mesa/swrast regardless. Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
29cfd154e3
commit
b816edcbf4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user