diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-03-22 18:54:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-22 18:54:21 -0400 |
commit | ef3769851f1b8586951cdf3ae71c3529f95a8fd6 (patch) | |
tree | 0c96042a49832395ae0c35ad9e7e66ef0df707ad /backend/headless/output.c | |
parent | 00bb9de29b154970ac76646d2e8db5fc2eda37f9 (diff) | |
parent | b1f93bc5cc6eee4fd15b16bdc0337d665e83a040 (diff) |
Merge pull request #740 from emersion/egl-debug
render/egl: use EGL_KHR_debug
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r-- | backend/headless/output.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c index 6ce8fc35..fc275eaf 100644 --- a/backend/headless/output.c +++ b/backend/headless/output.c @@ -13,7 +13,7 @@ static EGLSurface egl_create_surface(struct wlr_egl *egl, unsigned int width, EGLSurface surf = eglCreatePbufferSurface(egl->display, egl->config, attribs); if (surf == EGL_NO_SURFACE) { - wlr_log(L_ERROR, "Failed to create EGL surface: %s", egl_error()); + wlr_log(L_ERROR, "Failed to create EGL surface"); return EGL_NO_SURFACE; } return surf; @@ -123,7 +123,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend, if (!eglMakeCurrent(output->backend->egl.display, output->egl_surface, output->egl_surface, output->backend->egl.context)) { - wlr_log(L_ERROR, "eglMakeCurrent failed: %s", egl_error()); + wlr_log(L_ERROR, "eglMakeCurrent failed"); goto error; } |