aboutsummaryrefslogtreecommitdiff
path: root/render/gles2
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-05-07 19:44:05 +0300
committerDrew DeVault <sir@cmpwn.com>2019-05-07 10:51:52 -0600
commit107a1789eab550240fc01e84f896055e487ab216 (patch)
treed113cc366574a661df337ac38bfebdd6b4ec0ab4 /render/gles2
parent947d5ff481ee65fd0a88bd870faad2578bfc5d04 (diff)
render/gles2: print GL_RENDERER
This is often the name of the GPU and can help debugging graphics issues.
Diffstat (limited to 'render/gles2')
-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 dce1f162..6a4903ef 100644
--- a/render/gles2/renderer.c
+++ b/render/gles2/renderer.c
@@ -545,6 +545,7 @@ struct wlr_renderer *wlr_gles2_renderer_create(struct wlr_egl *egl) {
renderer->exts_str = (const char *)glGetString(GL_EXTENSIONS);
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));
wlr_log(WLR_INFO, "Supported GLES2 extensions: %s", renderer->exts_str);
if (!check_gl_ext(renderer->exts_str, "GL_EXT_texture_format_BGRA8888")) {