Render fixes + performance boost
This commit is contained in:
+1
-1
@@ -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){
|
||||
|
||||
Reference in New Issue
Block a user