framebuffer things
This commit is contained in:
@@ -34,6 +34,9 @@ typedef rgb888_pixel_t pixel_t;
|
||||
(((r & 0xFF) << 16) | ((g & 0xFF) << 8) | (b & 0xFF))
|
||||
#endif // PIXEL_FORMAT_888
|
||||
|
||||
extern volatile pixel_t framebuffer[DISPLAY_HEIGHT * DISPLAY_WIDTH];
|
||||
extern volatile pixel_t *current_framebuffer;
|
||||
extern volatile pixel_t *next_framebuffer;
|
||||
|
||||
void swap_framebuffers(void);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user