From 43b6f5c36cbe2529d93df0e44e319a330487ed0d Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 4 Jan 2022 11:24:11 -0800 Subject: gfx: Fix root shader object implementation in debug layer. (#2059) * gfx: Fix root shader object implementation in debug layer. * Fix. Co-authored-by: Yong He Co-authored-by: Theresa Foley --- tools/platform/gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/platform/gui.cpp') diff --git a/tools/platform/gui.cpp b/tools/platform/gui.cpp index 31671c424..5b72bd087 100644 --- a/tools/platform/gui.cpp +++ b/tools/platform/gui.cpp @@ -292,8 +292,8 @@ void GUI::endFrame(ITransientResourceHeap* transientHeap, IFramebuffer* framebuf indexBuffer, sizeof(ImDrawIdx) == 2 ? Format::R16_UINT : Format::R32_UINT); renderEncoder->setPrimitiveTopology(PrimitiveTopology::TriangleList); - UInt vertexOffset = 0; - UInt indexOffset = 0; + uint32_t vertexOffset = 0; + uint32_t indexOffset = 0; ImVec2 pos = draw_data->DisplayPos; for(int ii = 0; ii < commandListCount; ++ii) { -- cgit v1.2.3