From 8e375ae3404cdb665cb3f42ca8a1f6bc99c66002 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 21 Apr 2021 08:28:29 +0200 Subject: render/gles2: log when creating renderer Make it clear GLES2 is being used. Before this commit, various GL-related information was printed, but not an easy-to-find line about which renderer is being picked up. --- render/gles2/renderer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/render/gles2/renderer.c b/render/gles2/renderer.c index 212289e6..2f1e506b 100644 --- a/render/gles2/renderer.c +++ b/render/gles2/renderer.c @@ -768,6 +768,7 @@ struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_egl *egl) { renderer->exts_str = exts_str; renderer->drm_fd = -1; + wlr_log(WLR_INFO, "Creating GLES2 renderer"); wlr_log(WLR_INFO, "Using %s", glGetString(GL_VERSION)); wlr_log(WLR_INFO, "GL vendor: %s", glGetString(GL_VENDOR)); wlr_log(WLR_INFO, "GL renderer: %s", glGetString(GL_RENDERER)); -- cgit v1.2.3