FPS
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include "display/spritebatch.h"
|
||||
#include "display/mesh/quad.h"
|
||||
#include "display/screen.h"
|
||||
#include "ui/ui.h"
|
||||
|
||||
display_t DISPLAY;
|
||||
|
||||
@@ -110,7 +111,12 @@ errorret_t displayUpdate(void) {
|
||||
|
||||
// Bind screen and render scene
|
||||
screenBind();
|
||||
frameBufferClear(
|
||||
FRAMEBUFFER_CLEAR_COLOR | FRAMEBUFFER_CLEAR_DEPTH,
|
||||
COLOR_CORNFLOWER_BLUE
|
||||
);
|
||||
sceneManagerRender();
|
||||
uiRender();
|
||||
|
||||
// UI will probs go here
|
||||
|
||||
|
Reference in New Issue
Block a user