From bdbf734fa270b5d2638b7fd5fb223502621bfaea Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Tue, 17 Mar 2015 10:31:09 +1000 Subject: [PATCH] renderer/egl: decrease egl debug output this just removes this from the common output --- src/virgl_egl_context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/virgl_egl_context.c b/src/virgl_egl_context.c index 43c77b4..e7114e0 100644 --- a/src/virgl_egl_context.c +++ b/src/virgl_egl_context.c @@ -80,7 +80,6 @@ static int egl_rendernode_open(void) continue; } fd = r; - fprintf(stderr, "using render node %s\n", p); free(p); break; } @@ -161,13 +160,14 @@ struct virgl_egl *virgl_egl_init(void) goto fail; extension_list = eglQueryString(d->egl_display, EGL_EXTENSIONS); +#ifdef VIRGL_EGL_DEBUG fprintf(stderr, "EGL major/minor: %d.%d\n", major, minor); fprintf(stderr, "EGL version: %s\n", eglQueryString(d->egl_display, EGL_VERSION)); fprintf(stderr, "EGL vendor: %s\n", eglQueryString(d->egl_display, EGL_VENDOR)); fprintf(stderr, "EGL extensions: %s\n", extension_list); - +#endif /* require surfaceless context */ if (!virgl_egl_has_extension_in_string(extension_list, "EGL_KHR_surfaceless_context")) goto fail;