diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 06:48:22 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2019-10-25 06:48:22 +0000 |
| commit | 0bbd99fffddc2c6a350e1a04d862077740d7cd2f (patch) | |
| tree | fcde7b05105014e46d090766151956e90f36c587 /Imgui/src/ImGuiImplDiligent.cpp | |
| parent | Few updates to comply with API version 240033 (diff) | |
| download | DiligentTools-0bbd99fffddc2c6a350e1a04d862077740d7cd2f.tar.gz DiligentTools-0bbd99fffddc2c6a350e1a04d862077740d7cd2f.zip | |
Fixed compiler warning
Diffstat (limited to 'Imgui/src/ImGuiImplDiligent.cpp')
| -rw-r--r-- | Imgui/src/ImGuiImplDiligent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Imgui/src/ImGuiImplDiligent.cpp b/Imgui/src/ImGuiImplDiligent.cpp index d85a54a..4df6974 100644 --- a/Imgui/src/ImGuiImplDiligent.cpp +++ b/Imgui/src/ImGuiImplDiligent.cpp @@ -404,7 +404,7 @@ void ImGuiImplDiligent_Internal::RenderDrawData(IDeviceContext* pCtx, ImDrawData // Bind texture, Draw auto* texture_srv = reinterpret_cast<ITextureView*>(pcmd->TextureId); - VERIFY_EXPR(texture_srv == m_pFontSRV); + VERIFY_EXPR(texture_srv == m_pFontSRV); (void)texture_srv; //ctx->PSSetShaderResources(0, 1, &texture_srv); DrawIndexedAttribs DrawAttrs(pcmd->ElemCount, sizeof(ImDrawIdx) == 2 ? VT_UINT16 : VT_UINT32, DRAW_FLAG_VERIFY_STATES); DrawAttrs.FirstIndexLocation = pcmd->IdxOffset + global_idx_offset; |
