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:
Michaël Lemaire 2012-06-02 21:47:26 +00:00 committed by ThunderK
parent f8fc22fbf7
commit 864496475a

View file

@ -209,7 +209,7 @@ bool WandererChunk::maintain()
{
Vector3 location = {_startx + step_size * (double)i, 0.0, _startz + step_size * (double)j};
Color color = _renderer->applyTextures(_renderer, location, step_size);
new_image->setPixel(i, j, colorTo32BitRGBA(&color));
new_image->setPixel(i, j, colorTo32BitBGRA(&color));
}
}
}