Update SDL_asyncio.c

This commit is contained in:
Végh Márton authored and Sam Lantinga committed 2024-12-30 23:29:21 -08:00
1 parent 1c04ebe423
commit 0be5b8070d
1 file changed
+1
+1
View File
@@ -205,6 +205,7 @@ static bool GetAsyncIOTaskOutcome(SDL_AsyncIOTask *task, SDL_AsyncIOOutcome *out
SDL_zerop(outcome);
outcome->asyncio = asyncio->oneshot ? NULL : asyncio;
outcome->result = task->result;
outcome->type = task->type;
outcome->buffer = task->buffer;
outcome->offset = task->offset;
outcome->bytes_requested = task->requested_size;