mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 14:43:20 +00:00
Fixed SDL_GetIOSize() return value
Fixes https://github.com/libsdl-org/SDL/issues/15129
(cherry picked from commit 0a1c7b5348)
This commit is contained in:
parent
e7e2805475
commit
654f6f94f6
1 changed files with 2 additions and 1 deletions
|
|
@ -1404,7 +1404,8 @@ SDL_PropertiesID SDL_GetIOProperties(SDL_IOStream *context)
|
|||
Sint64 SDL_GetIOSize(SDL_IOStream *context)
|
||||
{
|
||||
CHECK_PARAM(!context) {
|
||||
return SDL_InvalidParamError("context");
|
||||
SDL_InvalidParamError("context");
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!context->iface.size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue