mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-12-02 02:25:40 +00:00
libretro: Build fix
This commit is contained in:
parent
7b532ebb7f
commit
2672e2b505
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue