summaryrefslogtreecommitdiff
path: root/src/static_libs
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2014-04-02 10:31:06 +0900
committerCedric BAIL <cedric.bail@free.fr>2014-04-02 10:31:06 +0900
commit4053911ef333e4c1d23842a6b808dec01cc2d4f5 (patch)
treec875ad0f15f9badf8051fa9fdbd70768ec880134 /src/static_libs
parent9780b403ee14273ef27434b1e3163b15478dde48 (diff)
rg_etc: fix typo in debug code.
Diffstat (limited to 'src/static_libs')
-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 af50b6f..b3f3f21 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., block_colors); 1728 rg_etc1_solution_coordinates_block_colors_get(optimizer->m_best_solution, 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]]);