mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix HIGH_PRECISION_SPRITE, broken when switching to std::min and std::max.
git-svn-id: https://svn.eduke32.com/eduke32@7111 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
50ea556fc6
commit
a6e7f601d3
1 changed files with 1 additions and 1 deletions
|
@ -1856,7 +1856,7 @@ static WSHELPER_DECL void calc_vplcinc_sprite(uint32_t *vplc, int32_t *vinc, int
|
|||
|
||||
*vinc = tmpvinc;
|
||||
// Clamp the vertical texture coordinate!
|
||||
*vplc = min(max<uint32_t>(0, tmpvplc), UINT32_MAX);
|
||||
*vplc = min<inthi_t>(max<inthi_t>(0, tmpvplc), UINT32_MAX);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue