aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r--render/wlr_renderer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index 7b1bc89a..ac7629e4 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -160,12 +160,12 @@ const struct wlr_drm_format_set *wlr_renderer_get_dmabuf_texture_formats(
return r->impl->get_dmabuf_texture_formats(r);
}
-const struct wlr_drm_format_set *wlr_renderer_get_dmabuf_render_formats(
+const struct wlr_drm_format_set *wlr_renderer_get_render_formats(
struct wlr_renderer *r) {
- if (!r->impl->get_dmabuf_render_formats) {
+ if (!r->impl->get_render_formats) {
return NULL;
}
- return r->impl->get_dmabuf_render_formats(r);
+ return r->impl->get_render_formats(r);
}
bool wlr_renderer_read_pixels(struct wlr_renderer *r, uint32_t fmt,