From 864496475a2298c1b88e13c3591a282afb7a529f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Lemaire?= Date: Sat, 2 Jun 2012 21:47:26 +0000 Subject: [PATCH] paysages : Fixed textures color in 3d explorer. git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@335 b1fd45b6-86a6-48da-8261-f70d1f35bdcc --- gui_qt/wandererchunk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui_qt/wandererchunk.cpp b/gui_qt/wandererchunk.cpp index 70da920..e9e4ebf 100644 --- a/gui_qt/wandererchunk.cpp +++ b/gui_qt/wandererchunk.cpp @@ -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)); } } }