sw_engine: Replace non-portable min/max with tvgMath.h macros 90/288990/1
authorRémi Verschelde <rverschelde@gmail.com>
Wed, 19 Jan 2022 09:59:34 +0000 (10:59 +0100)
committerMichal Szczecinski <mihashco89@gmail.com>
Mon, 27 Feb 2023 07:37:25 +0000 (08:37 +0100)
commit5c3fac747db096ecb4511463cad2af8fc6e4cc3c
treeed6b8faad9391330366dd8991a88c43de51c8d6e
parentcd75c1dcdae271000f263ed3376e53770b73aabd
sw_engine: Replace non-portable min/max with tvgMath.h macros

This would fail building with Visual Studio 2017, at least downstream in Godot
where we undefine old Windows compilers' non-standard `min`/`max` macros (see
`minmax.h`/`NOMINMAX`).

Change-Id: I593db53fb75b8eaac98f578fb49fa8f923cb7fb9
AUTHORS
src/lib/sw_engine/tvgSwRenderer.cpp
src/lib/tvgMath.h