aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r--backend/headless/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index ee1fd317..0ffdee79 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -52,7 +52,7 @@ static bool output_attach_render(struct wlr_output *wlr_output,
return false;
}
- if (!wlr_egl_make_current(egl, EGL_NO_SURFACE, NULL)) {
+ if (!wlr_egl_make_current(egl)) {
return false;
}
if (!wlr_renderer_bind_buffer(output->backend->renderer,