summaryrefslogtreecommitdiff
path: root/src/static_libs/rg_etc/rg_etc1.c
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2020-05-07 09:27:07 -0400
committerChristopher Michael <devilhorns@comcast.net>2020-05-07 09:27:07 -0400
commitd135957ffa0ae429f4ca22662de8633771984485 (patch)
tree8dcacdd71c83d4c5a7ffb239e428dd81e5d725df /src/static_libs/rg_etc/rg_etc1.c
parentde939ca64b3d17ee786f3fc621314fce1746334e (diff)
Use __func__ C99 identifier instead of __FUNCTION__ compiler extension
Summary: see http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf section 6.4.2.2 page 52 Test Plan: compilation Reviewers: raster, devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11785
Diffstat (limited to '')
-rw-r--r--src/static_libs/rg_etc/rg_etc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/static_libs/rg_etc/rg_etc1.c b/src/static_libs/rg_etc/rg_etc1.c
index e17eb887cd..9b889a3995 100644
--- a/src/static_libs/rg_etc/rg_etc1.c
+++ b/src/static_libs/rg_etc/rg_etc1.c
@@ -2278,7 +2278,7 @@ rg_etc1_pack_block_solid_color(unsigned char *block, const color_quad_u8 *color,
2278 2278
2279 if (!rg_etc1_inverse_lookup[0][255]) 2279 if (!rg_etc1_inverse_lookup[0][255])
2280 { 2280 {
2281 fprintf(stderr, "ETC1: Inverse lookup table not set (in %s)!\n", __FUNCTION__); 2281 fprintf(stderr, "ETC1: Inverse lookup table not set (in %s)!\n", __func__);
2282 return 0; 2282 return 0;
2283 } 2283 }
2284 2284
@@ -2392,7 +2392,7 @@ rg_etc1_pack_block_solid_color_constrained(rg_etc1_optimizer_results *results,ui
2392 2392
2393 if (!rg_etc1_inverse_lookup[0][255]) 2393 if (!rg_etc1_inverse_lookup[0][255])
2394 { 2394 {
2395 fprintf(stderr, "ETC1: Inverse lookup table not set (in %s)!\n", __FUNCTION__); 2395 fprintf(stderr, "ETC1: Inverse lookup table not set (in %s)!\n", __func__);
2396 return 0; 2396 return 0;
2397 } 2397 }
2398 2398