Fix release build errors on Linux/Mac (#4474)
* - Fix unused release warnings - Fixed compile errors from missing includes - Commented out missing AZ_ATOM_PROFILE_FUNCTION macro Signed-off-by: Steve Pham <spham@amazon.com> * Deleted AZ_ATOM_PROFILE_FUNCTION Signed-off-by: Steve Pham <spham@amazon.com> * Adding more unused errors from windows release build, and updates based on PR suggestions Signed-off-by: Steve Pham <spham@amazon.com>
This commit is contained in:
@@ -201,7 +201,6 @@ namespace AZ
|
||||
void HairFeatureProcessor::Simulate(const FeatureProcessor::SimulatePacket& packet)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AzRender);
|
||||
AZ_ATOM_PROFILE_FUNCTION("Hair", "HairFeatureProcessor: Simulate");
|
||||
AZ_UNUSED(packet);
|
||||
|
||||
if (m_hairRenderObjects.empty())
|
||||
@@ -250,7 +249,6 @@ namespace AZ
|
||||
void HairFeatureProcessor::Render([[maybe_unused]] const FeatureProcessor::RenderPacket& packet)
|
||||
{
|
||||
AZ_PROFILE_FUNCTION(AzRender);
|
||||
AZ_ATOM_PROFILE_FUNCTION("Hair", "HairFeatureProcessor: Render");
|
||||
|
||||
if (!m_initialized || !m_addDispatchEnabled)
|
||||
{ // Skip adding dispatches / Draw packets for this frame until initialized and the shaders are ready
|
||||
|
||||
Reference in New Issue
Block a user