mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
Userland: Add FB_FLUSH ioctl for fbdev
This commit is contained in:
parent
34e9fa4d3b
commit
974e996d33
5 changed files with 27 additions and 0 deletions
|
@ -38,4 +38,9 @@ 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)
|
||||
{
|
||||
return ioctl(fd, FB_IOCTL_FLUSH_BUFFER, rect);
|
||||
}
|
||||
|
||||
__END_DECLS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue