mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 01:36:58 +00:00
remove undefined function declaration and unused class member
This commit is contained in:
parent
7f9281c1bb
commit
c8b7fd18ef
3 changed files with 0 additions and 4 deletions
|
|
@ -59,7 +59,6 @@ struct SwapchainInfoVk
|
||||||
bool mainWindow{};
|
bool mainWindow{};
|
||||||
|
|
||||||
bool m_shouldRecreate = false;
|
bool m_shouldRecreate = false;
|
||||||
bool m_usesSRGB = false;
|
|
||||||
VSync m_vsyncState = VSync::Immediate;
|
VSync m_vsyncState = VSync::Immediate;
|
||||||
bool hasDefinedSwapchainImage{}; // indicates if the swapchain image is in a defined state
|
bool hasDefinedSwapchainImage{}; // indicates if the swapchain image is in a defined state
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2590,7 +2590,6 @@ VkPipeline VulkanRenderer::backbufferBlit_createGraphicsPipeline(VkDescriptorSet
|
||||||
uint64 hash = 0;
|
uint64 hash = 0;
|
||||||
hash += (uint64)vertexRendererShader;
|
hash += (uint64)vertexRendererShader;
|
||||||
hash += (uint64)fragmentRendererShader;
|
hash += (uint64)fragmentRendererShader;
|
||||||
hash += (uint64)(chainInfo.m_usesSRGB);
|
|
||||||
hash += ((uint64)padView) << 1;
|
hash += ((uint64)padView) << 1;
|
||||||
|
|
||||||
const auto it = m_backbufferBlitPipelineCache.find(hash);
|
const auto it = m_backbufferBlitPipelineCache.find(hash);
|
||||||
|
|
@ -2797,7 +2796,6 @@ bool VulkanRenderer::UpdateSwapchainProperties(bool mainWindow)
|
||||||
|
|
||||||
chainInfo.m_shouldRecreate = false;
|
chainInfo.m_shouldRecreate = false;
|
||||||
chainInfo.m_vsyncState = configValue;
|
chainInfo.m_vsyncState = configValue;
|
||||||
chainInfo.m_usesSRGB = mainWindow ? LatteGPUState.tvBufferUsesSRGB : LatteGPUState.drcBufferUsesSRGB;
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -121,7 +121,6 @@ private:
|
||||||
void UpdateAccountInformation();
|
void UpdateAccountInformation();
|
||||||
void UpdateOnlineAccounts();
|
void UpdateOnlineAccounts();
|
||||||
void HandleGraphicsApiSelection();
|
void HandleGraphicsApiSelection();
|
||||||
void HandleGammaSettings();
|
|
||||||
void ApplyConfig();
|
void ApplyConfig();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue