summaryrefslogtreecommitdiff
path: root/src/fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fb.c')
-rw-r--r--src/fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fb.c b/src/fb.c
index 250bd37..d9ee0a4 100644
--- a/src/fb.c
+++ b/src/fb.c
@@ -320,7 +320,7 @@ fb_t * fb_new(int drm_fd, uint32_t crtc_id, uint32_t *connectors, int n_connecto
/* helpers for fragmenting incrementally */
-int fb_fragment_divide_single(const fb_fragment_t *fragment, unsigned n_fragments, unsigned num, fb_fragment_t *res_fragment)
+int fb_fragment_slice_single(const fb_fragment_t *fragment, unsigned n_fragments, unsigned num, fb_fragment_t *res_fragment)
{
unsigned slice = fragment->height / n_fragments;
unsigned yoff = slice * num;
© All Rights Reserved