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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user