diff options
Diffstat (limited to 'render/egl.c')
| -rw-r--r-- | render/egl.c | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/render/egl.c b/render/egl.c index e21755b6..8986117d 100644 --- a/render/egl.c +++ b/render/egl.c @@ -568,11 +568,6 @@ struct wlr_egl *wlr_egl_create_with_drm_fd(int drm_fd) {  error:  	wlr_log(WLR_ERROR, "Failed to initialize EGL context"); -	if (egl->display) { -		eglMakeCurrent(egl->display, EGL_NO_SURFACE, EGL_NO_SURFACE, -			EGL_NO_CONTEXT); -		eglTerminate(egl->display); -	}  	free(egl);  	eglReleaseThread();  	return NULL; | 
