Rename 'bound' to 'clamp'

This commit is contained in:
Jonas Kulla 2013-09-03 15:31:29 +02:00
parent f81e20cc68
commit 84db116d0c
6 changed files with 27 additions and 27 deletions

View file

@ -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)
{