diff --git a/gfx/common/d3d11_common.h b/gfx/common/d3d11_common.h index 5edd6e938e..9db9f96964 100644 --- a/gfx/common/d3d11_common.h +++ b/gfx/common/d3d11_common.h @@ -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);