1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Comment why GetOrLoadImageTexture returns BasicTextureInfo

This commit is contained in:
Tulio Leao
2019-12-27 09:57:21 -03:00
parent f790fb9079
commit 84928cb4ef

View File

@@ -61,6 +61,7 @@ void TextureCache::InvalidateImage(uint32_t image)
}
}
// Note: for performance reasons, this returns a BasicTextureInfo over an AtlasTextureInfo (also to not expose the cache)
BasicTextureInfo TextureCache::GetOrLoadImageTexture(uint32_t image)
{
uint32_t index;