mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
Backends: DirectX12: Make sure texture sampling in the dx12 backend is not limited to the highest mip. (#8631)
This commit is contained in:
parent
f484af34c2
commit
b9ac32a0d5
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ bool ImGui_ImplDX12_CreateDeviceObjects()
|
|||
staticSampler.ComparisonFunc = D3D12_COMPARISON_FUNC_ALWAYS;
|
||||
staticSampler.BorderColor = D3D12_STATIC_BORDER_COLOR_TRANSPARENT_BLACK;
|
||||
staticSampler.MinLOD = 0.f;
|
||||
staticSampler.MaxLOD = 0.f;
|
||||
staticSampler.MaxLOD = D3D12_FLOAT32_MAX;
|
||||
staticSampler.ShaderRegister = 0;
|
||||
staticSampler.RegisterSpace = 0;
|
||||
staticSampler.ShaderVisibility = D3D12_SHADER_VISIBILITY_PIXEL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue