Get rid of warning

This commit is contained in:
twinaphex 2018-01-25 10:06:16 +01:00
parent 684374eec8
commit 6cdde6d9aa

View File

@ -2593,7 +2593,7 @@ d3d11_get_closest_match_texture2D(D3D11Device device, DXGI_FORMAT desired_format
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)
{
D3D11SetPShaderResources(ctx, slot, 1, &texture->view);