mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
egl: don't use __FUNCTION__ in error messages
This commit is contained in:
parent
7c8639e007
commit
66b0b200ee
1 changed files with 4 additions and 4 deletions
|
|
@ -192,8 +192,8 @@ _eglFillInConfigs(_EGLConfig * configs,
|
|||
|
||||
if ( bytes_per_pixel[index] == 0 ) {
|
||||
_eglLog(_EGL_INFO,
|
||||
"[%s:%u] Framebuffer type 0x%04x has 0 bytes per pixel.",
|
||||
__FUNCTION__, __LINE__, fb_type);
|
||||
"[_eglFillInConfigs:%u] Framebuffer type 0x%04x has 0 bytes per pixel.",
|
||||
__LINE__, fb_type);
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -227,8 +227,8 @@ _eglFillInConfigs(_EGLConfig * configs,
|
|||
|
||||
default:
|
||||
_eglLog(_EGL_WARNING,
|
||||
"[%s:%u] Framebuffer format 0x%04x is not GL_RGB, GL_RGBA, GL_BGR, or GL_BGRA.",
|
||||
__FUNCTION__, __LINE__, fb_format);
|
||||
"[_eglFillInConfigs:%u] Framebuffer format 0x%04x is not GL_RGB, GL_RGBA, GL_BGR, or GL_BGRA.",
|
||||
__LINE__, fb_format);
|
||||
return GL_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue