remove undefined function declaration and unused class member

This commit is contained in:
goeiecool9999 2025-11-14 00:02:40 +01:00
parent 7f9281c1bb
commit c8b7fd18ef
3 changed files with 0 additions and 4 deletions

View file

@ -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

View file

@ -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;
} }

View file

@ -121,7 +121,6 @@ private:
void UpdateAccountInformation(); void UpdateAccountInformation();
void UpdateOnlineAccounts(); void UpdateOnlineAccounts();
void HandleGraphicsApiSelection(); void HandleGraphicsApiSelection();
void HandleGammaSettings();
void ApplyConfig(); void ApplyConfig();
}; };