mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-05-02 18:15:42 -04: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…
x
Reference in New Issue
Block a user