early-access version 4068
This commit is contained in:
parent
1d5b8027e5
commit
4ce6b9bb78
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 4067.
|
This is the source code for early-access 4068.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -329,7 +329,7 @@ void PresentManager::CopyToSwapchainImpl(Frame* frame) {
|
|||||||
// to account for that.
|
// to account for that.
|
||||||
const bool is_suboptimal = swapchain.NeedsRecreation();
|
const bool is_suboptimal = swapchain.NeedsRecreation();
|
||||||
const bool size_changed =
|
const bool size_changed =
|
||||||
swapchain.GetWidth() < frame->width || swapchain.GetHeight() < frame->height;
|
swapchain.GetWidth() != frame->width || swapchain.GetHeight() != frame->height;
|
||||||
if (is_suboptimal || size_changed) {
|
if (is_suboptimal || size_changed) {
|
||||||
RecreateSwapchain(frame);
|
RecreateSwapchain(frame);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user