diff options
Diffstat (limited to 'backend/headless/output.c')
| -rw-r--r-- | backend/headless/output.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/backend/headless/output.c b/backend/headless/output.c index f71b4cdb..24fc3bfd 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"); +		wlr_log(WLR_ERROR, "Failed to create EGL surface");  		return EGL_NO_SURFACE;  	}  	return surf; @@ -33,7 +33,7 @@ static bool output_set_custom_mode(struct wlr_output *wlr_output, int32_t width,  	output->egl_surface = egl_create_surface(&backend->egl, width, height);  	if (output->egl_surface == EGL_NO_SURFACE) { -		wlr_log(L_ERROR, "Failed to recreate EGL surface"); +		wlr_log(WLR_ERROR, "Failed to recreate EGL surface");  		wlr_output_destroy(wlr_output);  		return false;  	} @@ -102,7 +102,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,  	struct wlr_headless_output *output =  		calloc(1, sizeof(struct wlr_headless_output));  	if (output == NULL) { -		wlr_log(L_ERROR, "Failed to allocate wlr_headless_output"); +		wlr_log(WLR_ERROR, "Failed to allocate wlr_headless_output");  		return NULL;  	}  	output->backend = backend; @@ -112,7 +112,7 @@ struct wlr_output *wlr_headless_add_output(struct wlr_backend *wlr_backend,  	output->egl_surface = egl_create_surface(&backend->egl, width, height);  	if (output->egl_surface == EGL_NO_SURFACE) { -		wlr_log(L_ERROR, "Failed to create EGL surface"); +		wlr_log(WLR_ERROR, "Failed to create EGL surface");  		goto error;  	} | 
