Merge all occurances of __func__ and __FUNCTION__ to SDL_FUNCTION

(cherry picked from commit 8f8880a8eb)
This commit is contained in:
Max Seidenstücker
2026-02-06 16:20:00 +01:00
committed by Sam Lantinga
parent 48e5fc7b69
commit 576c2d2f2c
15 changed files with 41 additions and 41 deletions

View File

@@ -2631,7 +2631,7 @@ static bool VULKAN_CreateTexture(SDL_Renderer *renderer, SDL_Texture *texture, S
}
if (textureFormat == VK_FORMAT_UNDEFINED) {
return SDL_SetError("%s, An unsupported SDL pixel format (0x%x) was specified", __FUNCTION__, texture->format);
return SDL_SetError("%s, An unsupported SDL pixel format (0x%x) was specified", SDL_FUNCTION, texture->format);
}
textureData = (VULKAN_TextureData *)SDL_calloc(1, sizeof(*textureData));
@@ -3352,7 +3352,7 @@ static bool VULKAN_UpdateViewport(SDL_Renderer *renderer)
* SDL_CreateRenderer is calling it, and will call it again later
* with a non-empty viewport.
*/
// SDL_Log("%s, no viewport was set!", __FUNCTION__);
// SDL_Log("%s, no viewport was set!", SDL_FUNCTION);
return false;
}