mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-26 21:47:06 +02:00
Small change to fix wrong blittering
This commit is contained in:
parent
ae78f4b381
commit
99b2403292
2 changed files with 2 additions and 10 deletions
|
|
@ -172,11 +172,7 @@ try
|
||||||
|
|
||||||
RendererVulkan::~RendererVulkan() {
|
RendererVulkan::~RendererVulkan() {
|
||||||
scheduler.RegisterOnSubmit([] {});
|
scheduler.RegisterOnSubmit([] {});
|
||||||
scheduler.Finish();
|
void(device.GetLogical().WaitIdle());
|
||||||
{
|
|
||||||
std::scoped_lock lock{scheduler.submit_mutex};
|
|
||||||
void(device.GetLogical().WaitIdle());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void RendererVulkan::Composite(std::span<const Tegra::FramebufferConfig> framebuffers) {
|
void RendererVulkan::Composite(std::span<const Tegra::FramebufferConfig> framebuffers) {
|
||||||
|
|
|
||||||
|
|
@ -31,11 +31,7 @@ BlitScreen::~BlitScreen() = default;
|
||||||
|
|
||||||
void BlitScreen::WaitIdle() {
|
void BlitScreen::WaitIdle() {
|
||||||
present_manager.WaitPresent();
|
present_manager.WaitPresent();
|
||||||
scheduler.Finish();
|
void(device.GetLogical().WaitIdle());
|
||||||
{
|
|
||||||
std::scoped_lock lock{scheduler.submit_mutex};
|
|
||||||
device.GetLogical().WaitIdle();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void BlitScreen::SetWindowAdaptPass() {
|
void BlitScreen::SetWindowAdaptPass() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue