diff options
author | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-10-21 12:08:42 +0900 |
---|---|---|
committer | Jean-Philippe Andre <jp.andre@samsung.com> | 2014-10-21 15:59:50 +0900 |
commit | 904b1c5249f8deaa6846f740ec532eb8dafc03e8 (patch) | |
tree | d1e7e1aa8a06459b619ac0c4211c0cfc8ae657b4 | |
parent | d5eb9bd590b11ee8f9821590031dfda015e05a81 (diff) | |
download | efl-904b1c5249f8deaa6846f740ec532eb8dafc03e8.tar.gz |
Evas: Fix some debug output formatting
Remove trailing newline.
-rw-r--r-- | src/modules/evas/engines/gl_x11/evas_x_main.c | 9 | ||||
-rw-r--r-- | src/modules/evas/engines/software_generic/evas_engine.c | 8 |
2 files changed, 10 insertions, 7 deletions
diff --git a/src/modules/evas/engines/gl_x11/evas_x_main.c b/src/modules/evas/engines/gl_x11/evas_x_main.c index 81774607e0..bcbb449243 100644 --- a/src/modules/evas/engines/gl_x11/evas_x_main.c +++ b/src/modules/evas/engines/gl_x11/evas_x_main.c @@ -339,7 +339,9 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info, if (!glXMakeContextCurrent(gw->disp, gw->glxwin, gw->glxwin, gw->context)) { - ERR("glXMakeContextCurrent(%p, %p, %p, %p)\n", (void *)gw->disp, (void *)gw->glxwin, (void *)gw->glxwin, (void *)gw->context); + ERR("glXMakeContextCurrent(%p, %p, %p, %p) failed", + (void *)gw->disp, (void *)gw->glxwin, (void *)gw->glxwin, + (void *)gw->context); eng_window_free(gw); return NULL; } @@ -348,7 +350,8 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info, { if (!glXMakeCurrent(gw->disp, gw->win, gw->context)) { - ERR("glXMakeCurrent(%p, 0x%x, %p) failed\n", (void *)gw->disp, (unsigned int)gw->win, (void *)gw->context); + ERR("glXMakeCurrent(%p, 0x%x, %p) failed", (void *)gw->disp, + (unsigned int)gw->win, (void *)gw->context); eng_window_free(gw); return NULL; } @@ -471,7 +474,7 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info, gw->gl_context = glsym_evas_gl_common_context_new(); if (!gw->gl_context) { - ERR("Unable to get a new context.\n"); + ERR("Unable to get a new context."); eng_window_free(gw); return NULL; } diff --git a/src/modules/evas/engines/software_generic/evas_engine.c b/src/modules/evas/engines/software_generic/evas_engine.c index 359ff53bfc..f6b3420cce 100644 --- a/src/modules/evas/engines/software_generic/evas_engine.c +++ b/src/modules/evas/engines/software_generic/evas_engine.c @@ -3132,7 +3132,7 @@ static Evas_Func func = static void sym_missing(void) { - ERR("GL symbols missing!\n"); + ERR("GL symbols missing!"); } static int @@ -3144,7 +3144,7 @@ glue_sym_init(void) if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \ if (!dst) \ { \ - ERR("Symbol not found %s\n", sym); \ + ERR("Symbol not found: %s", sym); \ return 0; \ } #define FALLBAK(dst, typ) if (!dst) dst = (typeof(dst))sym_missing; @@ -3178,7 +3178,7 @@ gl_sym_init(void) //------------------------------------------------// #define FINDSYM(dst, sym, typ) \ if (!dst) dst = (typeof(dst))dlsym(gl_lib_handle, sym); \ - if (!dst) DBG("Symbol not found %s\n", sym); + if (!dst) DBG("Symbol not found: %s", sym); #define FALLBAK(dst, typ) if (!dst) dst = (typeof(dst))sym_missing; //------------------------------------------------------// @@ -4096,7 +4096,7 @@ gl_lib_init(void) static void init_gl(void) { - DBG("Initializing Software OpenGL APIs...\n"); + DBG("Initializing Software OpenGL APIs..."); if (!gl_lib_init()) DBG("Unable to support EvasGL in this engine module. Install OSMesa to get it running"); |