mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-24 20:18:29 +00:00
Renamed SDL_SizeIO() SDL_GetIOSize()
This commit is contained in:

committed by
Ryan C. Gordon

parent
df0f5deddf
commit
a1a0156756
@@ -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) {
|
||||
|
Reference in New Issue
Block a user