Skip to content

Commit

Permalink
GRAPHICS: Correctly set XEOSITEX::MipMap::image
Browse files Browse the repository at this point in the history
It should point to the ImageDecoder the mip map is part of, i.e. the
XEOSITEX instance itself.
  • Loading branch information
DrMcCoy committed Dec 15, 2016
1 parent eea9aa8 commit 6749287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphics/images/xoreositex.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void XEOSITEX::readHeader(Common::SeekableReadStream &xeositex) {

void XEOSITEX::readMipMaps(Common::SeekableReadStream &xeositex) {
for (size_t i = 0; i < _mipMaps.size(); i++) {
_mipMaps[i] = new MipMap;
_mipMaps[i] = new MipMap(this);

_mipMaps[i]->width = xeositex.readUint32LE();
_mipMaps[i]->height = xeositex.readUint32LE();
Expand Down

0 comments on commit 6749287

Please sign in to comment.