diff options
Diffstat (limited to 'src/mesa/main/format_unpack.py')
-rw-r--r-- | src/mesa/main/format_unpack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/format_unpack.py b/src/mesa/main/format_unpack.py index 5928c2018eb..0ae73b8970a 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; } |