mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +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