aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc/bmp.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc/bmp.h')
-rw-r--r--libgui/inc/bmp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgui/inc/bmp.h b/libgui/inc/bmp.h
index ea7a07f..ff8360b 100644
--- a/libgui/inc/bmp.h
+++ b/libgui/inc/bmp.h
@@ -4,6 +4,7 @@
#define BMP_H
#include <def.h>
+#include <vec.h>
struct bmp_header {
u8 signature[2];
@@ -27,8 +28,7 @@ struct bmp_info {
};
struct bmp {
- u32 width;
- u32 height;
+ vec2 size;
u8 *data;
u32 bpp;
u32 pitch;