Fixed a memory corruption bug in the List's render function.

This commit is contained in:
2022-11-01 18:10:01 +00:00
parent a239e0eb4a
commit 10e606e2b6
4 changed files with 17 additions and 2 deletions
+1
View File
@@ -18,6 +18,7 @@ typedef struct {
TextureFontCache* CreateTextureFontCache();
TextureDetails* AddTextureToCache(SDL_Texture* texture, unsigned short fontSize, SDL_Rect textSize, TextureFontCache* cache);
void UpdateTextureDetails(SDL_Texture* texture, unsigned short fontSize, SDL_Rect textSize, int index, TextureFontCache* cache);
TextureDetails* GetTextureFromCache(TextureFontCache* cache, unsigned int index);
void FreeTextureDetails(TextureDetails* details);