add text rendering
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
#include <SDL/SDL_ttf.h>
|
||||
#include "renderer.h"
|
||||
|
||||
|
||||
|
||||
typedef struct {
|
||||
int x;
|
||||
int y;
|
||||
int z;
|
||||
} Position;
|
||||
|
||||
|
||||
RenderObject_t text_renderText(Position position, SDL_Color color, TTF_Font* font, char* format, ...);
|
||||
Reference in New Issue
Block a user