Fixed image decoding.

This commit is contained in:
2024-02-19 21:12:03 -08:00
parent b4674bd94c
commit 27dfd430ad
3 changed files with 4 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ namespace ehs
{
}
Glyph::Glyph(Serializer<>& ser)
Glyph::Glyph(Serializer<ehs::UInt_64>& ser)
: code(ser.Read<Char_32>()), pos(ser.ReadVec2<UInt_64>()), scale(ser.ReadVec2<UInt_64>()),
uv(ser.ReadRect<float>()), bearing(ser.ReadVec2<Int_64>()), advance(ser.ReadVec2<UInt_64>())
{