mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 10:48:05 +02:00
Use __func__ in log message instead of hard coded function name
This commit is contained in:
parent
d1c426eef7
commit
088c62e267
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ weston_surface_to_global_float(struct weston_surface *surface,
|
|||
|
||||
if (fabsf(v.f[3]) < 1e-6) {
|
||||
weston_log("warning: numerical instability in "
|
||||
"weston_surface_to_global(), divisor = %g\n",
|
||||
"%s(), divisor = %g\n", __func__,
|
||||
v.f[3]);
|
||||
*x = 0;
|
||||
*y = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue