mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-26 14:45:58 +01:00
Log GL and EGL vendor
useful for debugging
This commit is contained in:
parent
31dde23e40
commit
4d496802dd
1 changed files with 2 additions and 0 deletions
|
@ -132,7 +132,9 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
|
||||||
|
|
||||||
wlr_log(L_INFO, "Using EGL %d.%d", (int)major, (int)minor);
|
wlr_log(L_INFO, "Using EGL %d.%d", (int)major, (int)minor);
|
||||||
wlr_log(L_INFO, "Supported EGL extensions: %s", egl->egl_exts_str);
|
wlr_log(L_INFO, "Supported EGL extensions: %s", egl->egl_exts_str);
|
||||||
|
wlr_log(L_INFO, "EGL vendor: %s", eglQueryString(egl->display, EGL_VENDOR));
|
||||||
wlr_log(L_INFO, "Using %s", glGetString(GL_VERSION));
|
wlr_log(L_INFO, "Using %s", glGetString(GL_VERSION));
|
||||||
|
wlr_log(L_INFO, "GL vendor: %s", glGetString(GL_VENDOR));
|
||||||
wlr_log(L_INFO, "Supported OpenGL ES extensions: %s", egl->gl_exts_str);
|
wlr_log(L_INFO, "Supported OpenGL ES extensions: %s", egl->gl_exts_str);
|
||||||
|
|
||||||
if (strstr(egl->egl_exts_str, "EGL_WL_bind_wayland_display") == NULL ||
|
if (strstr(egl->egl_exts_str, "EGL_WL_bind_wayland_display") == NULL ||
|
||||||
|
|
Loading…
Reference in a new issue