Changed: Use modulateFromColorRGBOnly to colorize a bitmap in textures_tool

This commit is contained in:
kervala 2017-02-27 10:57:24 +01:00
parent 2e5bcdf248
commit fded57d3a1

View file

@ -180,8 +180,8 @@ int main(int argc, char **argv)
for (uint j = 0; j < size; ++j)
{
// TODO: find what computation do
// *(pRGBA++)-> = color;
pRGBA->modulateFromColorRGBOnly(*pRGBA, color);
++pRGBA;
}
NLMISC::COFile out;