scerne stuff
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user