Minesweeper prog
This commit is contained in:
@@ -45,6 +45,13 @@ typedef color4b_t color_t;
|
||||
#define color4b(r, g, b, a) ((color4b_t){r, g, b, a})
|
||||
#define color(r, g, b, a) ((color_t){r, g, b, a})
|
||||
|
||||
#define color_hex(hex) color( \
|
||||
((hex >> 24) & 0xFF), \
|
||||
((hex >> 16) & 0xFF), \
|
||||
((hex >> 8) & 0xFF), \
|
||||
(hex & 0xFF) \
|
||||
)
|
||||
|
||||
#define COLOR_WHITE_3F color3f(1.0f, 1.0f, 1.0f)
|
||||
#define COLOR_WHITE_4F color4f(1.0f, 1.0f, 1.0f, 1.0f)
|
||||
#define COLOR_WHITE_3B color3b(255, 255, 255)
|
||||
|
@@ -109,11 +109,6 @@ errorret_t displayUpdate(void) {
|
||||
|
||||
spriteBatchClear();
|
||||
frameBufferBind(NULL);
|
||||
frameBufferClear(
|
||||
FRAMEBUFFER_CLEAR_COLOR | FRAMEBUFFER_CLEAR_DEPTH,
|
||||
COLOR_CORNFLOWER_BLUE
|
||||
);
|
||||
|
||||
sceneManagerRender();
|
||||
spriteBatchFlush();
|
||||
|
||||
|
Reference in New Issue
Block a user