early-access version 4041

This commit is contained in:
pineappleEA
2024-01-01 23:05:00 +01:00
parent 05d9419e78
commit d950efa077
105 changed files with 10268 additions and 8920 deletions

View File

@@ -329,7 +329,7 @@ void PresentManager::CopyToSwapchainImpl(Frame* frame) {
// to account for that.
const bool is_suboptimal = swapchain.NeedsRecreation();
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) {
RecreateSwapchain(frame);
}