Commit fded57d3 authored by kervala's avatar kervala

Changed: Use modulateFromColorRGBOnly to colorize a bitmap in textures_tool

parent 2e5bcdf2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment