mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-26 19:37:01 +02:00
Revert "Small change to fix wrong blittering"
This commit is contained in:
parent
99b2403292
commit
084201b1a1
2 changed files with 10 additions and 2 deletions
|
|
@ -172,7 +172,11 @@ try
|
||||||
|
|
||||||
RendererVulkan::~RendererVulkan() {
|
RendererVulkan::~RendererVulkan() {
|
||||||
scheduler.RegisterOnSubmit([] {});
|
scheduler.RegisterOnSubmit([] {});
|
||||||
void(device.GetLogical().WaitIdle());
|
scheduler.Finish();
|
||||||
|
{
|
||||||
|
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,7 +31,11 @@ BlitScreen::~BlitScreen() = default;
|
||||||
|
|
||||||
void BlitScreen::WaitIdle() {
|
void BlitScreen::WaitIdle() {
|
||||||
present_manager.WaitPresent();
|
present_manager.WaitPresent();
|
||||||
void(device.GetLogical().WaitIdle());
|
scheduler.Finish();
|
||||||
|
{
|
||||||
|
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