aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-21 08:28:29 +0200
committerSimon Ser <contact@emersion.fr>2021-04-21 08:30:35 +0200
commit8e375ae3404cdb665cb3f42ca8a1f6bc99c66002 (patch)
tree0dca97e53ef33fc18dfb94157be91296b32586f2
parentcdacf4f632577a2d9c0f10f7b0aa9f8336e8a1d1 (diff)
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.
-rw-r--r--render/gles2/renderer.c1
1 files changed, 1 insertions, 0 deletions
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));