screen
This commit is contained in:
@@ -9,13 +9,12 @@
|
||||
#include "ui/uifps.h"
|
||||
#include "ui/uiconsole.h"
|
||||
#include "ui/uiframe.h"
|
||||
#include "display/framebuffer/framebuffer.h"
|
||||
#include "display/screen.h"
|
||||
#include "display/spritebatch/spritebatch.h"
|
||||
|
||||
#include "display/tileset/tileset_minogram.h"
|
||||
#include "display/tileset/tileset_ui.h"
|
||||
#include "display/tileset/tileset_ui_frame.h"
|
||||
#include "display/tileset/tileset_frame_large.h"
|
||||
#include "display/tileset/tileset_background.h"
|
||||
|
||||
ui_t UI;
|
||||
@@ -55,12 +54,9 @@ errorret_t uiInit(void) {
|
||||
}
|
||||
|
||||
void uiRender(void) {
|
||||
int32_t w = frameBufferGetWidth(FRAMEBUFFER_BOUND);
|
||||
int32_t h = frameBufferGetHeight(FRAMEBUFFER_BOUND);
|
||||
|
||||
UI.camera.orthographic.left = 0;
|
||||
UI.camera.orthographic.right = w;
|
||||
UI.camera.orthographic.bottom = h;
|
||||
UI.camera.orthographic.right = SCREEN.width;
|
||||
UI.camera.orthographic.bottom = SCREEN.height;
|
||||
UI.camera.orthographic.top = 0;
|
||||
|
||||
cameraPushMatrix(&UI.camera);
|
||||
|
Reference in New Issue
Block a user