diff options
Diffstat (limited to 'libs/hwui/Program.h')
-rw-r--r-- | libs/hwui/Program.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index a3bfaa4..a821a9c 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -204,8 +204,7 @@ struct ProgramDescription { * be provided with a modulation color. */ bool setColor(const float r, const float g, const float b, const float a) { - modulate = a < COLOR_COMPONENT_THRESHOLD || r < COLOR_COMPONENT_THRESHOLD || - g < COLOR_COMPONENT_THRESHOLD || b < COLOR_COMPONENT_THRESHOLD; + modulate = a < COLOR_COMPONENT_THRESHOLD; return modulate; } |