Fixed build
This commit is contained in:
parent
c3070d2b3a
commit
a23db8ea59
1 changed files with 2 additions and 2 deletions
|
@ -3239,9 +3239,9 @@ int SDLTest_DrawString(SDL_Renderer * renderer, int x, int y, const char *s)
|
|||
void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer)
|
||||
{
|
||||
int i;
|
||||
for (i = 0; i < SDL_ARRAYSIZE(SDLTest_CharTextureCache); ++i) {
|
||||
for (i = 0; i < SDL_arraysize(SDLTest_CharTextureCache); ++i) {
|
||||
if (SDLTest_CharTextureCache[i]) {
|
||||
SDL_TextureDestroy(SDLTest_CharTextureCache[i]);
|
||||
SDL_DestroyTexture(SDLTest_CharTextureCache[i]);
|
||||
SDLTest_CharTextureCache[i] = NULL;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue