egl: added a debug msg
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 13 Jun 2008 19:56:31 +0000 (13:56 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 13 Jun 2008 19:58:08 +0000 (13:58 -0600)
src/egl/drivers/xdri/egl_xdri.c

index 60753a1c1f40fb6aab498489c6705b6b781e9185..df80c6a1c4e4c9b99356ddfb2add48e1971a021c 100644 (file)
@@ -675,6 +675,7 @@ xdri_eglCreateContext(_EGLDriver *drv, EGLDisplay dpy, EGLConfig config,
                                            xdri_config->mode, renderType,
                                            shared, &xdri_ctx->driContext);
    if (!xdri_ctx->driContext.private) {
+      _eglLog(_EGL_DEBUG, "driScreen.createNewContext failed");
       free(xdri_ctx);
       return EGL_NO_CONTEXT;
    }