mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- change std::max()
to std::min()
in glbackend.h. Fixes issue in coelckers/Raze#83.
This commit is contained in:
parent
30300bf3b2
commit
dae1506182
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ public:
|
|||
|
||||
void SetShade(int32_t shade, int numshades)
|
||||
{
|
||||
renderState.Shade = std::max(shade, numshades-1);
|
||||
renderState.Shade = std::min(shade, numshades-1);
|
||||
}
|
||||
|
||||
void SetVisibility(float visibility)
|
||||
|
|
Loading…
Reference in a new issue