Update SDL_asyncio.c

This commit is contained in:
Végh Márton
2024-12-31 08:13:25 +01:00
committed by Sam Lantinga
parent 1c04ebe423
commit 0be5b8070d

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;