mirror of
https://github.com/shadps4-emu/ext-SDL.git
synced 2024-11-28 12:30:50 +00:00
We don't need to pass the renderer into SDLTest_CleanupTextDrawing()
This commit is contained in:
parent
65c55fdd84
commit
4657d9f33c
@ -68,7 +68,7 @@ int SDLTest_DrawString(SDL_Renderer *renderer, int x, int y, const char *s);
|
||||
/**
|
||||
* \brief Cleanup textures used by font drawing functions.
|
||||
*/
|
||||
void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer);
|
||||
void SDLTest_CleanupTextDrawing(void);
|
||||
|
||||
/* Ends C function definitions when using C++ */
|
||||
#ifdef __cplusplus
|
||||
|
@ -3236,9 +3236,9 @@ int SDLTest_DrawString(SDL_Renderer * renderer, int x, int y, const char *s)
|
||||
return (result);
|
||||
}
|
||||
|
||||
void SDLTest_CleanupTextDrawing(SDL_Renderer *renderer)
|
||||
void SDLTest_CleanupTextDrawing(void)
|
||||
{
|
||||
int i;
|
||||
unsigned int i;
|
||||
for (i = 0; i < SDL_arraysize(SDLTest_CharTextureCache); ++i) {
|
||||
if (SDLTest_CharTextureCache[i]) {
|
||||
SDL_DestroyTexture(SDLTest_CharTextureCache[i]);
|
||||
|
Loading…
Reference in New Issue
Block a user