[common] rects: implement routine to copy rectangles from framebuffer
This commit is contained in:
1 parent
cab95c5eed
commit
0462cee9db
4 files changed
+41
-1
No files matched your search
@@ -214,6 +214,11 @@ bool framebuffer_write(FrameBuffer * frame, const void * restrict src, size_t si
|
||||
return true;
|
||||
}
|
||||
|
||||
const uint8_t * framebuffer_get_buffer(const FrameBuffer * frame)
|
||||
{
|
||||
return frame->data;
|
||||
}
|
||||
|
||||
uint8_t * framebuffer_get_data(FrameBuffer * frame)
|
||||
{
|
||||
return frame->data;
|
||||
|
||||
Reference in new issue
Block a user