aboutsummaryrefslogtreecommitdiffstats
path: root/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx.h')
-rw-r--r--gfx.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gfx.h b/gfx.h
index b328d49..16d25fa 100644
--- a/gfx.h
+++ b/gfx.h
@@ -1,3 +1,4 @@
+#include <stdbool.h>
#include <inttypes.h>
typedef struct gfxstate gfxstate;
@@ -8,6 +9,7 @@ struct gfxstate {
uint32_t vdisplay;
uint32_t stride;
uint8_t *mem;
+ uint8_t *mem2;
uint32_t bits_per_pixel;
uint32_t rlen, glen, blen, tlen;
@@ -16,5 +18,5 @@ struct gfxstate {
/* calls */
void (*restore_display)(void);
void (*cleanup_display)(void);
- void (*flush_display)(void);
+ void (*flush_display)(bool second);
};