Renamed SDL_SizeIO() SDL_GetIOSize()

This commit is contained in:
Sam Lantinga 2024-03-17 17:13:39 -07:00 committed by Ryan C. Gordon
parent df0f5deddf
commit a1a0156756
9 changed files with 13 additions and 13 deletions

View file

@ -1904,7 +1904,7 @@ static const void *SDLTest_ScreenShotClipboardProvider(void *context, const char
file = SDL_IOFromFile(SCREENSHOT_FILE, "r");
if (file) {
size_t length = (size_t)SDL_SizeIO(file);
size_t length = (size_t)SDL_GetIOSize(file);
void *image = SDL_malloc(length);
if (image) {
if (SDL_ReadIO(file, image, length) != length) {