gallivm/tessellator: use private functions for min/max to avoid namespace issues
authorDave Airlie <airlied@redhat.com>
Mon, 2 Mar 2020 06:55:18 +0000 (16:55 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 2 Mar 2020 21:30:07 +0000 (07:30 +1000)
commitbb2287ccdf46822dc5e7c889efce116620b9c509
treefbdab7ce513771462a4bf03c53b4376176494ab8
parentc376865f5eeca535c4aa8e33bcf166052c1ce2f2
gallivm/tessellator: use private functions for min/max to avoid namespace issues

Different builds are failing because of namespace collisions here.

Just fix the MS code to avoid it.

Fixes: bd0188f9eab ("gallium/auxiliary: add the microsoft tessellator and a pipe wrapper.")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2586
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4016>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4016>
src/gallium/auxiliary/tessellator/tessellator.cpp