Evas rg_etc1: Fix build break (with DEBUG)
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 27 May 2014 23:12:29 +0000 (08:12 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 27 May 2014 23:13:30 +0000 (08:13 +0900)
Ooops, bad code merge here.
This breaks the nightly builds.

src/static_libs/rg_etc/rg_etc1.c

index bb825e685ab33a4e7db3e59474796fa4344a27d9..59d79b4c971615142845ae297e0cba8536bd96a3 100644 (file)
@@ -1847,7 +1847,7 @@ rg_etc1_optimizer_compute(rg_etc1_optimizer *optimizer)
       uint i;
       const uint8* pSelectors = optimizer->m_best_solution.m_selectors;
 
-      rg_etc1_solution_coordinates_block_colors_get(optimizer->m_best_solution.m_coords, block_colors);
+      rg_etc1_solution_coordinates_block_colors_get(&optimizer->m_best_solution.m_coords, block_colors);
       pSrc_pixels = optimizer->m_pParams->m_pSrc_pixels;
       for (i = 0; i < n; i++)
         actual_error += rg_etc1_color_quad_u8_rgb_squared_distance(pSrc_pixels[i], block_colors[pSelectors[i]]);