scerne stuff

This commit is contained in:
2025-10-01 19:21:20 -05:00
parent 83243ba32f
commit 4b04fc65ad
19 changed files with 150 additions and 76 deletions

View File

@@ -8,7 +8,7 @@
#include "display/display.h"
#include "console/console.h"
#include "display/framebuffer/framebuffer.h"
#include "display/scene/scenemanager.h"
#include "scene/scenemanager.h"
#include "display/spritebatch/spritebatch.h"
#include "display/mesh/quad.h"
#include "game/game.h"
@@ -71,7 +71,6 @@ errorret_t displayInit(void) {
quadInit();
frameBufferInitBackbuffer();
spriteBatchInit();
errorChain(sceneManagerInit());
errorOk();
}
@@ -115,7 +114,7 @@ errorret_t displayUpdate(void) {
COLOR_CORNFLOWER_BLUE
);
gameRender();
sceneManagerRender();
spriteBatchFlush();
#if DISPLAY_SDL2
@@ -132,7 +131,6 @@ errorret_t displayUpdate(void) {
}
errorret_t displayDispose(void) {
sceneManagerDispose();
spriteBatchDispose();
#if DISPLAY_SDL2