Skip to content

Commit

Permalink
inittf() commenting for #199
Browse files Browse the repository at this point in the history
  • Loading branch information
no-lex committed Oct 27, 2022
1 parent 6667b20 commit 9e8fbde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/engine/render/renderttf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

TTFRenderer ttr;

//starts up SDL2_TTF
bool TTFRenderer::initttf()
{
if(TTF_Init() < 0)
Expand Down
2 changes: 2 additions & 0 deletions src/engine/render/renderttf.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class TTFRenderer
int h;
};

//starts up SDL2_TTF
//if the init process did not start properly, returns false
bool initttf();

//opens a font with the given path and size in points
Expand Down

0 comments on commit 9e8fbde

Please sign in to comment.