aboutsummaryrefslogtreecommitdiff
path: root/render/egl.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/egl.c')
-rw-r--r--render/egl.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/render/egl.c b/render/egl.c
index 3003c9c5..275ef6f9 100644
--- a/render/egl.c
+++ b/render/egl.c
@@ -289,12 +289,6 @@ bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *remote_display,
}
}
- if (!eglMakeCurrent(egl->display, EGL_NO_SURFACE, EGL_NO_SURFACE,
- egl->context)) {
- wlr_log(WLR_ERROR, "Failed to make EGL context current");
- goto error;
- }
-
return true;
error: