mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-10 01:09:50 +00:00
Changed: Use modulateFromColorRGBOnly to colorize a bitmap in textures_tool
This commit is contained in:
parent
2e5bcdf248
commit
fded57d3a1
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)
|
for (uint j = 0; j < size; ++j)
|
||||||
{
|
{
|
||||||
// TODO: find what computation do
|
pRGBA->modulateFromColorRGBOnly(*pRGBA, color);
|
||||||
// *(pRGBA++)-> = color;
|
++pRGBA;
|
||||||
}
|
}
|
||||||
|
|
||||||
NLMISC::COFile out;
|
NLMISC::COFile out;
|
||||||
|
|
Loading…
Reference in a new issue