paysages : Fixed textures color in 3d explorer.
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@335 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
This commit is contained in:
parent
f8fc22fbf7
commit
864496475a
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ bool WandererChunk::maintain()
|
||||||
{
|
{
|
||||||
Vector3 location = {_startx + step_size * (double)i, 0.0, _startz + step_size * (double)j};
|
Vector3 location = {_startx + step_size * (double)i, 0.0, _startz + step_size * (double)j};
|
||||||
Color color = _renderer->applyTextures(_renderer, location, step_size);
|
Color color = _renderer->applyTextures(_renderer, location, step_size);
|
||||||
new_image->setPixel(i, j, colorTo32BitRGBA(&color));
|
new_image->setPixel(i, j, colorTo32BitBGRA(&color));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue