aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects/GrArithmeticFP.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effects/GrArithmeticFP.cpp')
-rw-r--r--src/gpu/effects/GrArithmeticFP.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/effects/GrArithmeticFP.cpp b/src/gpu/effects/GrArithmeticFP.cpp
index 1c47732e3e..41de6432ef 100644
--- a/src/gpu/effects/GrArithmeticFP.cpp
+++ b/src/gpu/effects/GrArithmeticFP.cpp
@@ -76,7 +76,7 @@ GrGLSLFragmentProcessor* GrArithmeticFP::onCreateGLSLInstance() const {
}
void GrArithmeticFP::onGetGLSLProcessorKey(const GrShaderCaps& caps,
GrProcessorKeyBuilder* b) const {
- b->add32(fEnforcePMColor);
+ b->add32((int32_t)fEnforcePMColor);
}
bool GrArithmeticFP::onIsEqual(const GrFragmentProcessor& other) const {
const GrArithmeticFP& that = other.cast<GrArithmeticFP>();