aboutsummaryrefslogtreecommitdiffstats
path: root/framebuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer.h')
-rw-r--r--framebuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/framebuffer.h b/framebuffer.h
index b8c4580..0e502d1 100644
--- a/framebuffer.h
+++ b/framebuffer.h
@@ -47,6 +47,8 @@ struct QFrameBuffer {
int width; /* width in pixels */
int height; /* height in pixels */
int pitch; /* bytes per line */
+ int bits_per_pixel; /* bits per pixel */
+ int bytes_per_pixel; /* bytes per pixel */
int rotation; /* rotation to be applied when displaying */
QFrameBufferFormat format;
void* pixels; /* pixel buffer */