COMMON: Rename Common::set_to to Common::fill.

This makes the name match with the name of the STL function with the same
behavior.
This commit is contained in:
Johannes Schickel 2011-11-16 18:06:30 +01:00
parent 6e90f9e693
commit 61795739f8
30 changed files with 69 additions and 69 deletions

View file

@ -287,7 +287,7 @@ void GLESTexture::fillBuffer(uint32 color) {
((color & 0xff) == ((color >> 8) & 0xff)))
memset(_pixels, color & 0xff, _surface.pitch * _surface.h);
else
Common::set_to(_pixels, _pixels + _surface.pitch * _surface.h,
Common::fill(_pixels, _pixels + _surface.pitch * _surface.h,
(uint16)color);
setDirty();