mirror of
https://github.com/libretro/RetroArch
synced 2025-04-11 00:44:20 +00:00
Get rid of warning
This commit is contained in:
parent
684374eec8
commit
6cdde6d9aa
@ -2593,7 +2593,7 @@ d3d11_get_closest_match_texture2D(D3D11Device device, DXGI_FORMAT desired_format
|
|||||||
D3D11_FORMAT_SUPPORT_TEXTURE2D | D3D11_FORMAT_SUPPORT_SHADER_SAMPLE);
|
D3D11_FORMAT_SUPPORT_TEXTURE2D | D3D11_FORMAT_SUPPORT_SHADER_SAMPLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline d3d11_set_texture_and_sampler(
|
static inline void d3d11_set_texture_and_sampler(
|
||||||
D3D11DeviceContext ctx, UINT slot, d3d11_texture_t* texture)
|
D3D11DeviceContext ctx, UINT slot, d3d11_texture_t* texture)
|
||||||
{
|
{
|
||||||
D3D11SetPShaderResources(ctx, slot, 1, &texture->view);
|
D3D11SetPShaderResources(ctx, slot, 1, &texture->view);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user