more warnings triggered by nightly builds
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -386,7 +386,7 @@ namespace ImageProcessingAtom
|
||||
if (k < 3) //only apply gamma and scale to RGB channels
|
||||
{
|
||||
//degamma texel val, by raising to the power gamma
|
||||
texelVal = pow(texelVal, a_Gamma);
|
||||
texelVal = static_cast<CP_ITYPE>(pow(texelVal, a_Gamma));
|
||||
|
||||
//scale texel val in linear space (after degamma)
|
||||
texelVal *= a_Scale;
|
||||
@@ -514,7 +514,7 @@ namespace ImageProcessingAtom
|
||||
texelVal *= a_Scale;
|
||||
|
||||
//apply gamma to texel val by raising the texelVal to the power of (1/gamma)
|
||||
texelVal = pow(texelVal, 1.0f / a_Gamma);
|
||||
texelVal = static_cast<CP_ITYPE>(pow(texelVal, 1.0f / a_Gamma));
|
||||
}
|
||||
|
||||
//write out texture value
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ namespace ScriptedEntityTweener
|
||||
struct AnimationProperties
|
||||
{
|
||||
static const float UninitializedParamFloat;
|
||||
static const unsigned int InvalidCallbackId;
|
||||
static const int InvalidCallbackId;
|
||||
static const unsigned int InvalidTimelineId;
|
||||
|
||||
EasingMethod m_easeMethod;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace ScriptedEntityTweener
|
||||
const AZStd::any ScriptedEntityTweenerTask::QueuedSubtaskInfo::m_emptyInitialValue;
|
||||
|
||||
const float AnimationProperties::UninitializedParamFloat = FLT_MIN;
|
||||
const unsigned int AnimationProperties::InvalidCallbackId = 0;
|
||||
const int AnimationProperties::InvalidCallbackId = 0;
|
||||
const unsigned int AnimationProperties::InvalidTimelineId = 0;
|
||||
|
||||
ScriptedEntityTweenerTask::ScriptedEntityTweenerTask(AZ::EntityId id)
|
||||
|
||||
Reference in New Issue
Block a user