mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
Fixed build
This commit is contained in:
parent
b0b3da7702
commit
65c55fdd84
@ -3239,9 +3239,9 @@ int SDLTest_DrawString(SDL_Renderer * renderer, int x, int y, const char *s)
|
|||||||
void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer)
|
void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < SDL_ARRAYSIZE(SDLTest_CharTextureCache); ++i) {
|
for (i = 0; i < SDL_arraysize(SDLTest_CharTextureCache); ++i) {
|
||||||
if (SDLTest_CharTextureCache[i]) {
|
if (SDLTest_CharTextureCache[i]) {
|
||||||
SDL_TextureDestroy(SDLTest_CharTextureCache[i]);
|
SDL_DestroyTexture(SDLTest_CharTextureCache[i]);
|
||||||
SDLTest_CharTextureCache[i] = NULL;
|
SDLTest_CharTextureCache[i] = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user