From 105188440f205f88f13a89e797e3f410dca3b5f9 Mon Sep 17 00:00:00 2001 From: assiduous Date: Mon, 19 Oct 2020 12:12:43 -0700 Subject: Renamed USAGE_STATIC to USAGE_IMMUTABLE (API240077) --- Imgui/src/ImGuiDiligentRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Imgui/src/ImGuiDiligentRenderer.cpp') 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(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)); -- cgit v1.2.3