mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-06 07:20:48 +00:00
Renamed SDL_SizeIO() SDL_GetIOSize()
This commit is contained in:
parent
df0f5deddf
commit
a1a0156756
9 changed files with 13 additions and 13 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue