diff options
author | Marius Predut <marius.predut@intel.com> | 2015-04-03 16:11:57 +0300 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-04-14 12:23:41 -0700 |
commit | f0e693efb393f1135702c80a64f8733adc922db1 (patch) | |
tree | 8c266fb784c46ef00bb09c3617015e5dfaa4aed4 /src/mesa/tnl/t_draw.c | |
parent | 3ca17e75e4fe129511a4dcad47e139485beef880 (diff) |
tnl: replace __FUNCTION__ with __func__
Consistently just use C99's __func__ everywhere.
The patch was verified with Microsoft Visual studio 2013
redistributable package(RTM version number: 18.0.21005.1)
Next MSVC versions intends to support __func__.
No functional changes.
Acked-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Signed-off-by: Marius Predut <marius.predut@intel.com>
Diffstat (limited to 'src/mesa/tnl/t_draw.c')
-rw-r--r-- | src/mesa/tnl/t_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_draw.c b/src/mesa/tnl/t_draw.c index 60265d60bfc..6adf1dce676 100644 --- a/src/mesa/tnl/t_draw.c +++ b/src/mesa/tnl/t_draw.c @@ -448,7 +448,7 @@ void _tnl_draw_prims(struct gl_context *ctx, if (0) { - printf("%s %d..%d\n", __FUNCTION__, min_index, max_index); + printf("%s %d..%d\n", __func__, min_index, max_index); for (i = 0; i < nr_prims; i++) printf("prim %d: %s start %d count %d\n", i, _mesa_lookup_enum_by_nr(prim[i].mode), |