mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
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.
This commit is contained in:
parent
cdacf4f632
commit
8e375ae340
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue