Skip to content

Commit 1882d4e

Browse files
authored
Fix compilation on Linux for the following error: (#435)
#434 In file included from /mnt/D/GIT/STAB/o3de/build/External/AtomSampleViewer-4c24181b/Gem/Code/CMakeFiles/AtomSampleViewer.Private.Static.dir/Unity/unity_5_cxx.cxx:3: In file included from /mnt/D/GIT/STAB/o3de/AtomSampleViewer/Gem/Code/Source/AuxGeomExampleComponent.cpp:9: In file included from /mnt/D/GIT/STAB/o3de/AtomSampleViewer/Gem/Code/Source/AuxGeomExampleComponent.h:11: /mnt/D/GIT/STAB/o3de/AtomSampleViewer/Gem/Code/Source/CommonSampleComponentBase.h:118:21: error: private field 'm_postProcessEntity' is not used [-Werror,-Wunused-private-field] AZ::Entity* m_postProcessEntity = nullptr; Signed-off-by: Galib Arrieta <66021303+galibzon@users.noreply.github.com>
1 parent cf18bb4 commit 1882d4e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Gem/Code/Source/CommonSampleComponentBase.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,6 @@ namespace AtomSampleViewer
114114
//! Lights created by lighting presets.
115115
AZStd::vector<AZ::Render::DirectionalLightFeatureProcessorInterface::LightHandle> m_lightHandles;
116116

117-
//! Post process entity to handle ExposureControlSettings.
118-
AZ::Entity* m_postProcessEntity = nullptr;
119-
120117
//! Dirty flag is set to true when m_lightingPresets is modified.
121118
bool m_lightingPresetsDirty = true;
122119

0 commit comments

Comments
 (0)