|
|
|
@ -30,7 +30,8 @@ BlitScreen::~BlitScreen() = default; |
|
|
|
void BlitScreen::WaitIdle() { |
|
|
|
present_manager.WaitPresent(); |
|
|
|
scheduler.Finish(); |
|
|
|
device.GetLogical().WaitIdle(); |
|
|
|
// Note: scheduler.Finish() already waits for GPU and synchronizes submit_mutex
|
|
|
|
// Calling device.WaitIdle() here causes threading errors (simultaneous queue access)
|
|
|
|
} |
|
|
|
|
|
|
|
void BlitScreen::SetWindowAdaptPass() { |
|
|
|
|