From 40633ae7fda70b8261e0c8d689795bf0dfb40e57 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 12 Jun 2023 13:43:18 +0200 Subject: render: drop legacy render pass All built-in renderers now implement the new API. --- render/wlr_renderer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'render/wlr_renderer.c') diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c index d4043b43..fe4429ee 100644 --- a/render/wlr_renderer.c +++ b/render/wlr_renderer.c @@ -27,7 +27,6 @@ #endif // WLR_HAS_VULKAN_RENDERER #include "backend/backend.h" -#include "render/pass.h" #include "render/pixel_format.h" #include "render/wlr_renderer.h" #include "util/env.h" @@ -450,10 +449,6 @@ int wlr_renderer_get_drm_fd(struct wlr_renderer *r) { struct wlr_render_pass *wlr_renderer_begin_buffer_pass(struct wlr_renderer *renderer, struct wlr_buffer *buffer, const struct wlr_buffer_pass_options *options) { - if (!renderer->impl->begin_buffer_pass) { - return begin_legacy_buffer_render_pass(renderer, buffer); - } - struct wlr_buffer_pass_options default_options = {0}; if (!options) { options = &default_options; -- cgit v1.2.3