Warning fixes

This commit is contained in:
Connor McLaughlin
2021-01-26 02:23:06 +10:00
parent e79dff1731
commit 1b16ba3d98
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ bool GPU_HW_Vulkan::DoState(StateWrapper& sw, HostDisplayTexture** host_texture,
{
HostDisplayTexture* htex = *host_texture;
if (!htex || htex->GetWidth() != m_vram_texture.GetWidth() || htex->GetHeight() != m_vram_texture.GetHeight() ||
htex->GetSamples() != m_vram_texture.GetSamples())
htex->GetSamples() != static_cast<u32>(m_vram_texture.GetSamples()))
{
delete htex;