gallium/swr: Fix Windows build
authorJan Zielinski <jan.zielinski@intel.com>
Thu, 12 Dec 2019 13:07:20 +0000 (14:07 +0100)
committerJan Zielinski <jan.zielinski@intel.com>
Thu, 12 Dec 2019 13:35:23 +0000 (14:35 +0100)
commitbd5077ae1dfaa1f5652a7a1febfcc0f27b030823
treeeafd260b9d32067d70b238bed8a9e798929542d4
parenta0f1a5fa051786c16de6f0062771051f8565daec
gallium/swr: Fix Windows build

Tessellator defines own fmin/fmax functions that conflict
with those defined in cmath header. Need to use legacy math.h
which was originally used in MS code.

Reviewed-by: Krzysztof Raszkowski <krzysztof.raszkowski@intel.com>
src/gallium/drivers/swr/rasterizer/core/tessellator.cpp