Переглянути джерело

Fix compilation bug introduced (#633)

Fix compilation bug introduced (#633) by PR:
https://github.com/o3de/o3de/pull/16269

The bug was:
C:/GIT/o3de/AtomSampleViewer/Gem/Code/Source/RHI/BasicRHIComponent.cpp(27,17):
error C2039: 'm_hasPipelineViewTag': is not a member of
'AZ::RPI::Pass::<unnamed-type-m_flags>'

Signed-off-by: galibzon <[email protected]>
galibzon 2 роки тому
батько
коміт
c40dc878a9
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      Gem/Code/Source/RHI/BasicRHIComponent.cpp

+ 1 - 1
Gem/Code/Source/RHI/BasicRHIComponent.cpp

@@ -24,7 +24,7 @@ namespace AtomSampleViewer
     RHISamplePass::RHISamplePass(const AZ::RPI::PassDescriptor& descriptor)
         : AZ::RPI::RenderPass(descriptor)
     {
-        m_flags.m_hasPipelineViewTag = true;
+        m_flags.m_bindViewSrg = true;
         m_pipelineViewTag = "MainCamera";
     }