diff options
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); }; |