diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-10-19 19:12:43 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-10-19 19:12:43 +0000 |
| commit | 105188440f205f88f13a89e797e3f410dca3b5f9 (patch) | |
| tree | bcba786676f084396e18f04bf786582290d3f599 /Imgui/src/ImGuiDiligentRenderer.cpp | |
| parent | Some updates to match API240076 (diff) | |
| download | DiligentTools-105188440f205f88f13a89e797e3f410dca3b5f9.tar.gz DiligentTools-105188440f205f88f13a89e797e3f410dca3b5f9.zip | |
Renamed USAGE_STATIC to USAGE_IMMUTABLE (API240077)
Diffstat (limited to 'Imgui/src/ImGuiDiligentRenderer.cpp')
| -rw-r--r-- | Imgui/src/ImGuiDiligentRenderer.cpp | 2 |
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)); |
