Mesa (master): egl: don't use __FUNCTION__ in error messages
Brian Paul
brianp at kemper.freedesktop.org
Wed Mar 25 14:18:39 UTC 2009
Module: Mesa
Branch: master
Commit: 66b0b200ee53fe342466513640deef55619cab17
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=66b0b200ee53fe342466513640deef55619cab17
Author: Brian Paul <brianp at vmware.com>
Date: Wed Mar 25 08:17:37 2009 -0600
egl: don't use __FUNCTION__ in error messages
---
src/egl/main/eglconfigutil.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/egl/main/eglconfigutil.c b/src/egl/main/eglconfigutil.c
index 7061df6..138dc72 100644
--- a/src/egl/main/eglconfigutil.c
+++ b/src/egl/main/eglconfigutil.c
@@ -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;
}
More information about the mesa-commit
mailing list