summaryrefslogtreecommitdiff
path: root/src/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fb.h')
-rw-r--r--src/fb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fb.h b/src/fb.h
index e8d818f..c1cee17 100644
--- a/src/fb.h
+++ b/src/fb.h
@@ -14,6 +14,8 @@ typedef struct fb_fragment_t {
uint32_t *buf; /* pointer to the first pixel in the fragment */
unsigned x, y; /* absolute coordinates of the upper left corner of this fragment */
unsigned width, height; /* width and height of this fragment */
+ unsigned frame_width; /* width of the frame this fragment is part of */
+ unsigned frame_height; /* height of the frame this fragment is part of */
unsigned stride; /* number of bytes from the end of one row to the start of the next */
} fb_fragment_t;
© All Rights Reserved