Skip to content

Commit 3e74b0b

Browse files
committed
Remove deconstructor
1 parent be0ea99 commit 3e74b0b

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/text/fonts/fonts.hpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ namespace Shirag::Text {
2727
Font(std::string FilePath, int FontSize) {
2828
font = LoadFontEx(FilePath.c_str(), FontSize, NULL, 0);
2929
}
30-
31-
~Font() {
32-
UnloadFont(font);
33-
}
3430
};
3531

3632
/// Finds the font closest to the target size

0 commit comments

Comments
 (0)