temp font fix
This commit is contained in:
parent
75cf426d1a
commit
8496ea4a40
1 changed files with 1 additions and 0 deletions
|
|
@ -16,6 +16,7 @@ void ARC_Text_Create(ARC_Text **text, ARC_String *path, int32_t size, ARC_Color
|
||||||
(*text)->texture = NULL;
|
(*text)->texture = NULL;
|
||||||
(*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 };
|
(*text)->bounds = (ARC_Rect){ 0, 0, 0, 0 };
|
||||||
|
|
||||||
|
//TODO: fix this
|
||||||
if(TTF_Init()==-1) {
|
if(TTF_Init()==-1) {
|
||||||
printf("TTF_Init: %s\n", TTF_GetError());
|
printf("TTF_Init: %s\n", TTF_GetError());
|
||||||
exit(2);
|
exit(2);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue