diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-20 15:56:35 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2025-03-21 11:06:05 -0400 |
| commit | cae76dd98e301a4560bb46ecb59b5952dff04149 (patch) | |
| tree | 8e85d17234c6838fd24925889cd784296df56956 /src/font.hpp | |
| parent | 9f036b05d36203465ca481f39d2cd51233e82b9e (diff) | |
pke: cleanup std stream usage
Diffstat (limited to 'src/font.hpp')
| -rw-r--r-- | src/font.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/font.hpp b/src/font.hpp index f935f94..562ecae 100644 --- a/src/font.hpp +++ b/src/font.hpp @@ -106,8 +106,8 @@ struct FontType : public Entity_Base { void FontType_Init(); void FontType_Teardown(); void FontType_Tick(double delta); -void FontType_Serialize(std::ofstream &stream, FontType *ft); -void FontType_Deserialize(std::ifstream &stream); +void FontType_Serialize(std::ostream &stream, FontType *ft); +void FontType_Deserialize(std::istream &stream); FontType* FontType_GetFonts(FontTypeIndex &count); FontTypeIndex FontType_RegisterFont(pk_cstr title, AssetHandle fontTextureHandle, AssetHandle glyphsHandle, FontTypeMSDFSettings *msdf_settings, FontTypeSpacing *spacing); void FontType_Unload(FontTypeIndex idx); |
