big refactor
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
#ifndef FONT_H
|
||||
#define FONT_H
|
||||
|
||||
void InitFont(Font *font, const char* path){
|
||||
*font = LoadFont(path);
|
||||
SetTextureFilter(font->texture, TEXTURE_FILTER_POINT);
|
||||
}
|
||||
|
||||
void CleanupFont(Font *font){
|
||||
UnloadFont(*font);
|
||||
}
|
||||
|
||||
#endif //FONT_H
|
||||
Reference in New Issue
Block a user