瀏覽代碼

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

ocornut 10 年之前
父節點
當前提交
43c8b5e0d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;