diff options
author | Stefan Schmidt <s.schmidt@samsung.com> | 2015-05-11 14:44:57 +0200 |
---|---|---|
committer | Stefan Schmidt <s.schmidt@samsung.com> | 2015-05-11 14:54:10 +0200 |
commit | 1501b791a73b50627f154f9176b51deaf501e093 (patch) | |
tree | a75ae197e3f9738e575bbf15483f14793b70907d | |
parent | 6c5d0b6f6be1937b2d00d30e19cac05fb0e7740f (diff) | |
download | efl-1501b791a73b50627f154f9176b51deaf501e093.tar.gz |
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
-rw-r--r-- | src/static_libs/rg_etc/rg_etc1.c | 2 |
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 rg_etc1_color_quad_u8_init(color, br, bg, bb, 255); } -#if 0 +#ifdef RG_ETC1_BUILD_DEBUG static inline void rg_etc1_solution_coordinates_block_colors_get(const Etc1_Solution_Coordinates *coords, color_quad_u8 colors[4]) { |