summaryrefslogtreecommitdiff
path: root/src/static_libs/rg_etc
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2015-05-11 14:44:57 +0200
committerStefan Schmidt <s.schmidt@samsung.com>2015-05-11 15:00:12 +0200
commitd1b414a6eca180702caf9c980b163023deada0d7 (patch)
tree61436ed267d2d432c15ed8a3933abd22b324f93e /src/static_libs/rg_etc
parent9e0a00d768b90917a0b190420c65db8d4c640ed2 (diff)
rg_etc: Correct ifdef to keep function available for debug build
In the nightly builds we have debug enabled and this spotted the case where rg_etc1_solution_coordinates_block_colors_get is actually still used: lib/eet/.libs/libeet.so: undefined reference to `rg_etc1_solution_coordinates_block_colors_get' Showed only after we switched back from release to dev mode. @fix
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 d3bc3901fb..866316793c 100644
--- a/src/static_libs/rg_etc/rg_etc1.c
+++ b/src/static_libs/rg_etc/rg_etc1.c
@@ -1592,7 +1592,7 @@ rg_etc1_solution_coordinates_get_scaled_color(color_quad_u8 *color, const Etc1_S
1592 rg_etc1_color_quad_u8_init(color, br, bg, bb, 255); 1592 rg_etc1_color_quad_u8_init(color, br, bg, bb, 255);
1593} 1593}
1594 1594
1595#if 0 1595#ifdef RG_ETC1_BUILD_DEBUG
1596static inline void 1596static inline void
1597rg_etc1_solution_coordinates_block_colors_get(const Etc1_Solution_Coordinates *coords, color_quad_u8 colors[4]) 1597rg_etc1_solution_coordinates_block_colors_get(const Etc1_Solution_Coordinates *coords, color_quad_u8 colors[4])
1598{ 1598{