소스 검색

Merge pull request #378 from aws-lumberyard-dev/ASV/antonmic/MacBuildFix

Tentative Mac build fix for ASV
antonmic 3 년 전
부모
커밋
76d8d11dcd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Gem/Code/Source/ReadbackExampleComponent.cpp

+ 2 - 2
Gem/Code/Source/ReadbackExampleComponent.cpp

@@ -330,9 +330,9 @@ namespace AtomSampleViewer
                 ImGui::Text("Readback statistics");
                 ImGui::NewLine();
                 ImGui::Text("Name: %s", m_readbackStat.m_name.GetCStr());
-                ImGui::Text("Bytes read: %i", m_readbackStat.m_bytesRead);
+                ImGui::Text("Bytes read: %zu", m_readbackStat.m_bytesRead);
                 ImGui::Text("[%i; %i; %i]", m_readbackStat.m_descriptor.m_size.m_width, m_readbackStat.m_descriptor.m_size.m_height, m_readbackStat.m_descriptor.m_size.m_depth);
-                ImGui::Text(AZ::RHI::ToString(m_readbackStat.m_descriptor.m_format));
+                ImGui::Text("%s", AZ::RHI::ToString(m_readbackStat.m_descriptor.m_format));
 
             }