Update XGfxImage parsing logic

This commit is contained in:
njohnson 2025-09-07 23:11:54 -04:00
parent 51a0d00b93
commit e416d47df4

View File

@ -27,6 +27,8 @@ XGfxImage::~XGfxImage()
}
void XGfxImage::ParseData(QDataStream *aStream)
{
if (GetPtr() == -1)
{
*aStream >> mMapType;
@ -67,6 +69,7 @@ void XGfxImage::ParseData(QDataStream *aStream)
// TODO: This is wrong
mTexture.ParseData(aStream);
}
}
void XGfxImage::Clear()
{