summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-04-08 10:45:44 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2014-04-08 10:46:41 +0200
commit8ebc1309acc1510707d25cc5ef79e0513055aa6a (patch)
tree8a385af96015e8f61972d0bfa91d196c29761244 /src
parent60d144d963682ddc55820b2ad98de529541278a1 (diff)
rg_etc: Really fix debug build.
Finally finishing what 2e8c7cad3a89dfce5b9bf95f42a91da625036ea5 tried to fix.
Diffstat (limited to 'src')
-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 ea266ce965..814a14839f 100644
--- a/src/static_libs/rg_etc/rg_etc1.c
+++ b/src/static_libs/rg_etc/rg_etc1.c
@@ -1725,7 +1725,7 @@ rg_etc1_optimizer_compute(rg_etc1_optimizer *optimizer)
1725 uint i; 1725 uint i;
1726 const uint8* pSelectors = optimizer->m_best_solution.m_selectors; 1726 const uint8* pSelectors = optimizer->m_best_solution.m_selectors;
1727 1727
1728 rg_etc1_solution_coordinates_block_colors_get(optimizer->m_best_solution.m_coords, block_colors); 1728 rg_etc1_solution_coordinates_block_colors_get(&optimizer->m_best_solution.m_coords, block_colors);
1729 pSrc_pixels = optimizer->m_pParams->m_pSrc_pixels; 1729 pSrc_pixels = optimizer->m_pParams->m_pSrc_pixels;
1730 for (i = 0; i < n; i++) 1730 for (i = 0; i < n; i++)
1731 actual_error += rg_etc1_color_quad_u8_rgb_squared_distance(pSrc_pixels[i], block_colors[pSelectors[i]]); 1731 actual_error += rg_etc1_color_quad_u8_rgb_squared_distance(pSrc_pixels[i], block_colors[pSelectors[i]]);