diff options
author | Simon Ser <contact@emersion.fr> | 2023-06-12 13:43:18 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-11-22 00:55:56 +0100 |
commit | 40633ae7fda70b8261e0c8d689795bf0dfb40e57 (patch) | |
tree | 562a25f7279be8bfa9f42147db5578552c4ef318 /render/wlr_renderer.c | |
parent | 5dd614b9adc97bf1c89c8e2ebe8504841f8635ea (diff) |
render: drop legacy render pass
All built-in renderers now implement the new API.
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r-- | render/wlr_renderer.c | 5 |
1 files changed, 0 insertions, 5 deletions
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; |