mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Rename presentation recreation helper
This commit is contained in:
1 parent
453b93f87d
commit
4c35f662ab
2 files changed
+3
-3
No files matched your search
@@ -412,7 +412,7 @@ bool VulkanRenderManager::CreateSwapchainViewsAndDepth(VkCommandBuffer cmdInit,
|
||||
return true;
|
||||
}
|
||||
|
||||
bool VulkanRenderManager::RecreatePresentation() {
|
||||
bool VulkanRenderManager::RecreatePresentationIfNeeded() {
|
||||
VulkanPresentation *presentation = vulkan_->GetPresentation();
|
||||
if (!presentation || !presentation->NeedsRecreate()) {
|
||||
return true;
|
||||
@@ -748,7 +748,7 @@ void VulkanRenderManager::BeginFrame(bool enableProfiling, bool enableLogProfile
|
||||
_assert_msg_(false, "Device lost in vkWaitForFences");
|
||||
}
|
||||
|
||||
if (!RecreatePresentation()) {
|
||||
if (!RecreatePresentationIfNeeded()) {
|
||||
restoreReadyForFence();
|
||||
ERROR_LOG(Log::G3D, "Failed to recreate Vulkan presentation backbuffers");
|
||||
return;
|
||||
|
||||
@@ -565,7 +565,7 @@ private:
|
||||
|
||||
void SanityCheckPassesOnAdd();
|
||||
bool CreateSwapchainViewsAndDepth(VkCommandBuffer cmdInit, VulkanBarrierBatch *barriers, FrameDataShared &frameDataShared);
|
||||
bool RecreatePresentation();
|
||||
bool RecreatePresentationIfNeeded();
|
||||
|
||||
FrameDataShared frameDataShared_;
|
||||
|
||||
|
||||
Reference in new issue
Block a user