From cae76dd98e301a4560bb46ecb59b5952dff04149 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 20 Mar 2025 15:56:35 -0400 Subject: pke: cleanup std stream usage --- src/font.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/font.hpp') 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); -- cgit v1.2.3