summaryrefslogtreecommitdiff
path: root/src/static_libs/rg_etc
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2014-05-28 08:12:29 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2014-05-28 08:13:30 +0900
commitb8f7431b74b2a0f8d8d950dea9286ef752bfd1aa (patch)
treeb07fed7310c9b3a9eb9f0a8363d70720595a0518 /src/static_libs/rg_etc
parent1d0330f9b12106ffd87bb223f4bc7142074be046 (diff)
Evas rg_etc1: Fix build break (with DEBUG)
Ooops, bad code merge here. This breaks the nightly builds.
Diffstat (limited to 'src/static_libs/rg_etc')
-rw-r--r--src/static_libs/rg_etc/rg_etc1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/static_libs/rg_etc/rg_etc1.c b/src/static_libs/rg_etc/rg_etc1.c
index bb825e685a..59d79b4c97 100644
--- a/src/static_libs/rg_etc/rg_etc1.c
+++ b/src/static_libs/rg_etc/rg_etc1.c
@@ -1847,7 +1847,7 @@ rg_etc1_optimizer_compute(rg_etc1_optimizer *optimizer)
1847 uint i; 1847 uint i;
1848 const uint8* pSelectors = optimizer->m_best_solution.m_selectors; 1848 const uint8* pSelectors = optimizer->m_best_solution.m_selectors;
1849 1849
1850 rg_etc1_solution_coordinates_block_colors_get(optimizer->m_best_solution.m_coords, block_colors); 1850 rg_etc1_solution_coordinates_block_colors_get(&optimizer->m_best_solution.m_coords, block_colors);
1851 pSrc_pixels = optimizer->m_pParams->m_pSrc_pixels; 1851 pSrc_pixels = optimizer->m_pParams->m_pSrc_pixels;
1852 for (i = 0; i < n; i++) 1852 for (i = 0; i < n; i++)
1853 actual_error += rg_etc1_color_quad_u8_rgb_squared_distance(pSrc_pixels[i], block_colors[pSelectors[i]]); 1853 actual_error += rg_etc1_color_quad_u8_rgb_squared_distance(pSrc_pixels[i], block_colors[pSelectors[i]]);