mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 04:52:39 +02:00
gpfifo: Reset the command buffer after submission.
Don't forget to wait on the fence before re-using the buffer.
This commit is contained in:
parent
9ce884f29e
commit
d93c45a18d
@ -36,5 +36,7 @@ Result nvGpfifoSubmit(NvGpfifo* f, NvCmdList* cmd_list, NvFence* fence_out)
|
||||
nvfenceCreate(fence_out, &fence);
|
||||
}
|
||||
|
||||
cmd_list->num_cmds = 0;
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user