Rename 'bound' to 'clamp'
This commit is contained in:
parent
f81e20cc68
commit
84db116d0c
6 changed files with 27 additions and 27 deletions
|
|
@ -208,7 +208,7 @@ void Bitmap::stretchBlt(const IntRect &destRect,
|
|||
{
|
||||
GUARD_DISPOSED;
|
||||
|
||||
opacity = bound(opacity, 0, 255);
|
||||
opacity = clamp(opacity, 0, 255);
|
||||
|
||||
if (opacity == 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue