summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/evas/engines/gl_x11/evas_x_main.c5
1 files changed, 3 insertions, 2 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 db8d70ae75..7cad2e6d2a 100644
--- a/src/modules/evas/engines/gl_x11/evas_x_main.c
+++ b/src/modules/evas/engines/gl_x11/evas_x_main.c
@@ -190,9 +190,10 @@ eng_window_new(Evas_Engine_Info_GL_X11 *info,
190 NULL); 190 NULL);
191 if (gw->egl_surface[0] == EGL_NO_SURFACE) 191 if (gw->egl_surface[0] == EGL_NO_SURFACE)
192 { 192 {
193 printf("surf creat fail! %x\n", eglGetError()); 193 int err = eglGetError();
194 printf("surf creat fail! %x\n", err);
194 ERR("eglCreateWindowSurface() fail for %#x. code=%#x", 195 ERR("eglCreateWindowSurface() fail for %#x. code=%#x",
195 (unsigned int)gw->win, eglGetError()); 196 (unsigned int)gw->win, err);
196 eng_window_free(gw); 197 eng_window_free(gw);
197 return NULL; 198 return NULL;
198 } 199 }