summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/API')
-rw-r--r--Kernel/API/FB.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/Kernel/API/FB.h b/Kernel/API/FB.h
index 94b6c07677..25b00e8809 100644
--- a/Kernel/API/FB.h
+++ b/Kernel/API/FB.h
@@ -38,9 +38,12 @@ ALWAYS_INLINE int fb_set_buffer(int fd, int index)
return ioctl(fd, FB_IOCTL_SET_BUFFER, index);
}
-ALWAYS_INLINE int fb_flush_buffer(int fd, FBRect* rect)
+ALWAYS_INLINE int fb_flush_buffers(int fd, FBRect const* rects, unsigned count)
{
- return ioctl(fd, FB_IOCTL_FLUSH_BUFFER, rect);
+ FBRects fb_rects;
+ fb_rects.count = count;
+ fb_rects.rects = rects;
+ return ioctl(fd, FB_IOCTL_FLUSH_BUFFERS, &fb_rects);
}
__END_DECLS