Update XGfxImage parsing logic
This commit is contained in:
parent
51a0d00b93
commit
e416d47df4
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user