From b8f7431b74b2a0f8d8d950dea9286ef752bfd1aa Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Wed, 28 May 2014 08:12:29 +0900 Subject: [PATCH] Evas rg_etc1: Fix build break (with DEBUG) Ooops, bad code merge here. This breaks the nightly builds. --- src/static_libs/rg_etc/rg_etc1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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]]); -- 2.34.1