aboutsummaryrefslogtreecommitdiff
path: root/render/wlr_renderer.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-06-29 16:00:24 -0400
committerDrew DeVault <sir@cmpwn.com>2017-06-29 16:00:24 -0400
commit8920b5d607c6b3b5d04894fc1837ac4f2d9558ae (patch)
tree3c79b4faff213544ed247e1c126fc89508bdd75d /render/wlr_renderer.c
parent97f6e9b69aecf1fbcbc2fa95cb2009f873c86d40 (diff)
parent486ec5953cf51f5fde834bf8fa7fbe56f0be9a0e (diff)
Merge branch 'wlcore'
Diffstat (limited to 'render/wlr_renderer.c')
-rw-r--r--render/wlr_renderer.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/render/wlr_renderer.c b/render/wlr_renderer.c
index f48bb3eb..720c5254 100644
--- a/render/wlr_renderer.c
+++ b/render/wlr_renderer.c
@@ -41,3 +41,8 @@ void wlr_render_colored_ellipse(struct wlr_renderer *r,
const float (*color)[4], const float (*matrix)[16]) {
r->impl->render_ellipse(r->state, color, matrix);
}
+
+const enum wl_shm_format *wlr_renderer_get_formats(
+ struct wlr_renderer *r, size_t *len) {
+ return r->impl->formats(r->state, len);
+}