Render fixes + performance boost

This commit is contained in:
Marc
2023-01-22 13:56:44 +01:00
parent b7ca43006a
commit c0404ae69d
6 changed files with 64 additions and 32 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ Scene_t demo;
static void game_setup(void) {
menu_staticRender();
RenderObject_t text;
RenderObject_t text = EMPTY_RENDER_OBJECT;
SDL_Color white = {255, 255, 255, 255};
TTF_Init();
if(text_renderText(&text, 1000, 1, white, "./assets/fonts/arial.ttf", 25, "Hello World") < 0){