diff options
author | Marius Predut <[email protected]> | 2015-04-07 22:04:58 +0300 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-14 12:23:41 -0700 |
commit | 6f4d9418b41f650630e725e0a842de9bb1ad746f (patch) | |
tree | 6edd76ada82ee3c0ba53c099c25723e395c912b1 /src/mesa/main/glformats.c | |
parent | 50cb780f7f90ffc4018f41502a472604bf1677c3 (diff) |
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 <[email protected]>
Signed-off-by: Marius Predut <[email protected]>
Diffstat (limited to 'src/mesa/main/glformats.c')
-rw-r--r-- | src/mesa/main/glformats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 4e05229cf02..8ced5794938 100644 --- a/src/mesa/main/glformats.c +++ b/src/mesa/main/glformats.c @@ -1393,7 +1393,7 @@ _mesa_base_format_has_channel(GLenum base_format, GLenum pname) return GL_FALSE; default: _mesa_warning(NULL, "%s: Unexpected channel token 0x%x\n", - __FUNCTION__, pname); + __func__, pname); return GL_FALSE; } |