Changed: Use modulateFromColorRGBOnly to colorize a bitmap in textures_tool
--HG-- branch : develop
This commit is contained in:
parent
cea9549cd8
commit
076a50e3fb
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue