summaryrefslogtreecommitdiffstats
path: root/Imgui/src/ImGuiDiligentRenderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Imgui/src/ImGuiDiligentRenderer.cpp')
-rw-r--r--Imgui/src/ImGuiDiligentRenderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Imgui/src/ImGuiDiligentRenderer.cpp b/Imgui/src/ImGuiDiligentRenderer.cpp
index 180f8df..56ffdad 100644
--- a/Imgui/src/ImGuiDiligentRenderer.cpp
+++ b/Imgui/src/ImGuiDiligentRenderer.cpp
@@ -381,7 +381,7 @@ void ImGuiDiligentRenderer::CreateFontsTexture()
FontTexDesc.Height = static_cast<Uint32>(height);
FontTexDesc.Format = TEX_FORMAT_RGBA8_UNORM;
FontTexDesc.BindFlags = BIND_SHADER_RESOURCE;
- FontTexDesc.Usage = USAGE_STATIC;
+ FontTexDesc.Usage = USAGE_IMMUTABLE;
TextureSubResData Mip0Data[] = {{pixels, FontTexDesc.Width * 4}};
TextureData InitData(Mip0Data, _countof(Mip0Data));