diff options
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 4 | ||||
-rw-r--r-- | backend/drm/renderer.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 8a16b1f5..65734631 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -556,8 +556,6 @@ static bool drm_connector_commit(struct wlr_output *output) { } } - wlr_egl_unset_current(&drm->renderer.egl); - return true; } @@ -967,8 +965,6 @@ static bool drm_connector_set_cursor(struct wlr_output *output, return false; } - wlr_egl_unset_current(&plane->surf.renderer->egl); - plane->cursor_enabled = true; } diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index 4d83bf31..c82663e6 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -370,8 +370,6 @@ bool drm_surface_render_black_frame(struct wlr_drm_surface *surf) { wlr_renderer_clear(renderer, (float[]){ 0.0, 0.0, 0.0, 1.0 }); wlr_renderer_end(renderer); - wlr_egl_unset_current(&surf->renderer->egl); - return true; } @@ -415,8 +413,6 @@ struct gbm_bo *drm_fb_acquire(struct wlr_drm_fb *fb, struct wlr_drm_backend *drm return NULL; } - wlr_egl_unset_current(&mgpu->renderer->egl); - fb->mgpu_bo = gbm_surface_lock_front_buffer(mgpu->gbm); if (!fb->mgpu_bo) { wlr_log(WLR_ERROR, "Failed to lock front buffer"); |