Update XGfxImage parsing logic

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

View File

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