libretro: Build fix

This commit is contained in:
Connor McLaughlin 2020-12-30 19:38:12 +10:00
parent 7b532ebb7f
commit 2672e2b505

View file

@ -139,6 +139,6 @@ bool LibretroD3D11HostDisplay::CheckFramebufferSize(u32 width, u32 height)
if (m_framebuffer.GetWidth() == width && m_framebuffer.GetHeight() == height) if (m_framebuffer.GetWidth() == width && m_framebuffer.GetHeight() == height)
return true; return true;
return m_framebuffer.Create(m_device.Get(), width, height, 1, DXGI_FORMAT_R8G8B8A8_UNORM, return m_framebuffer.Create(m_device.Get(), width, height, 1, 1, DXGI_FORMAT_R8G8B8A8_UNORM,
D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET); D3D11_BIND_SHADER_RESOURCE | D3D11_BIND_RENDER_TARGET);
} }