summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/format_unpack.py
diff options
context:
space:
mode:
authorMarius Predut <marius.predut@intel.com>2015-04-07 22:04:58 +0300
committerMatt Turner <mattst88@gmail.com>2015-04-14 12:23:41 -0700
commit6f4d9418b41f650630e725e0a842de9bb1ad746f (patch)
tree6edd76ada82ee3c0ba53c099c25723e395c912b1 /src/mesa/main/format_unpack.py
parent50cb780f7f90ffc4018f41502a472604bf1677c3 (diff)
downloadexternal_mesa3d-6f4d9418b41f650630e725e0a842de9bb1ad746f.zip
external_mesa3d-6f4d9418b41f650630e725e0a842de9bb1ad746f.tar.gz
external_mesa3d-6f4d9418b41f650630e725e0a842de9bb1ad746f.tar.bz2
main: 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> Signed-off-by: Marius Predut <marius.predut@intel.com>
Diffstat (limited to 'src/mesa/main/format_unpack.py')
-rw-r--r--src/mesa/main/format_unpack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/format_unpack.py b/src/mesa/main/format_unpack.py
index 5928c20..0ae73b8 100644
--- a/src/mesa/main/format_unpack.py
+++ b/src/mesa/main/format_unpack.py
@@ -332,7 +332,7 @@ _mesa_unpack_rgba_row(mesa_format format, GLuint n,
unpack_float_ycbcr_rev(src, dst, n);
break;
default:
- _mesa_problem(NULL, "%s: bad format %s", __FUNCTION__,
+ _mesa_problem(NULL, "%s: bad format %s", __func__,
_mesa_get_format_name(format));
return;
}
@@ -401,7 +401,7 @@ _mesa_unpack_uint_rgba_row(mesa_format format, GLuint n,
break;
%endfor
default:
- _mesa_problem(NULL, "%s: bad format %s", __FUNCTION__,
+ _mesa_problem(NULL, "%s: bad format %s", __func__,
_mesa_get_format_name(format));
return;
}