Explorar el Código

Examples: DirectX11: use linear sampler to be in sync with other examples.

ocornut hace 10 años
padre
commit
43c8b5e0d2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/directx11_example/main.cpp

+ 1 - 1
examples/directx11_example/main.cpp

@@ -474,7 +474,7 @@ void InitImGui()
     {
         D3D11_SAMPLER_DESC 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.AddressV = D3D11_TEXTURE_ADDRESS_WRAP;
         desc.AddressW = D3D11_TEXTURE_ADDRESS_WRAP;