mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-14 12:02:30 +00:00
chore: initial commit
This commit is contained in:
commit
70b00c5c38
965 changed files with 264882 additions and 0 deletions
12
src/gx/font/FaceData.cpp
Normal file
12
src/gx/font/FaceData.cpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#include "gx/font/FaceData.hpp"
|
||||
#include "util/SFile.hpp"
|
||||
|
||||
FACEDATA::~FACEDATA() {
|
||||
if (this->face) {
|
||||
FT_Done_Face(this->face);
|
||||
}
|
||||
|
||||
if (this->data) {
|
||||
SFile::Unload(this->data);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue