mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Examples: DirectX11: use linear sampler to be in sync with other examples.
This commit is contained in:
parent
014f88b1fc
commit
43c8b5e0d2
@ -474,7 +474,7 @@ void InitImGui()
|
|||||||
{
|
{
|
||||||
D3D11_SAMPLER_DESC desc;
|
D3D11_SAMPLER_DESC desc;
|
||||||
ZeroMemory(&desc, sizeof(desc));
|
ZeroMemory(&desc, sizeof(desc));
|
||||||
desc.Filter = D3D11_FILTER_MIN_MAG_POINT_MIP_LINEAR;
|
desc.Filter = D3D11_FILTER_MIN_MAG_MIP_LINEAR;
|
||||||
desc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP;
|
desc.AddressU = D3D11_TEXTURE_ADDRESS_WRAP;
|
||||||
desc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
|
desc.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
|
||||||
desc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;
|
desc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;
|
||||||
|
Loading…
Reference in New Issue
Block a user