diff --git a/src/Textures.cpp b/src/Textures.cpp index 1f67d2a4..5af07062 100644 --- a/src/Textures.cpp +++ b/src/Textures.cpp @@ -688,6 +688,7 @@ void _updateCachedTexture(const GHQTexInfo & _info, CachedTexture *_pTexture) } _pTexture->realWidth = _info.width; _pTexture->realHeight = _info.height; + _pTexture->bHDTexture = true; /* _pTexture->scaleS = 1.0f / (f32)(_pTexture->realWidth); _pTexture->scaleT = 1.0f / (f32)(_pTexture->realHeight); diff --git a/src/Textures.h b/src/Textures.h index 621c8b88..9bd95588 100644 --- a/src/Textures.h +++ b/src/Textures.h @@ -14,7 +14,7 @@ typedef u32 (*GetTexelFunc)( u64 *src, u16 x, u16 i, u8 palette ); struct CachedTexture { - CachedTexture(GLuint _glName) : glName(_glName), max_level(0), frameBufferTexture(fbNone) {} + CachedTexture(GLuint _glName) : glName(_glName), max_level(0), frameBufferTexture(fbNone), bHDTexture(false) {} GLuint glName; u32 crc; @@ -44,6 +44,7 @@ struct CachedTexture fbOneSample = 1, fbMultiSample = 2 } frameBufferTexture; + bool bHDTexture; };