GPU/SW: Spin for 1ms rather than immediately sleeping

This commit is contained in:
Connor McLaughlin
2021-04-17 22:16:59 +10:00
parent 90e0ff33db
commit e4d5d9f049
4 changed files with 19 additions and 6 deletions

View File

@ -35,7 +35,7 @@ public:
GPUBackendDrawLineCommand* NewDrawLineCommand(u32 num_vertices);
void PushCommand(GPUBackendCommand* cmd);
void Sync();
void Sync(bool allow_sleep);
/// Processes all pending GPU commands.
void RunGPULoop();