Minesweeper prog

This commit is contained in:
2025-10-06 09:35:05 -05:00
parent c0cd4ead04
commit bacd0e6e39
21 changed files with 299 additions and 32 deletions

View File

@@ -9,6 +9,7 @@
#include "util/memory.h"
#include "assert/assert.h"
#include "console/console.h"
#include "display/framebuffer/framebuffer.h"
#include "util/string.h"
scenemanager_t SCENE_MANAGER;
@@ -94,6 +95,11 @@ void sceneManagerRender(void) {
SCENE_MANAGER.current->flags & SCENE_FLAG_INITIALIZED,
"Current scene not initialized"
);
frameBufferClear(
FRAMEBUFFER_CLEAR_COLOR | FRAMEBUFFER_CLEAR_DEPTH,
SCENE_MANAGER.current->background
);
if(SCENE_MANAGER.current->render) SCENE_MANAGER.current->render();
}