From 0519c810a56bded1284fcb2ae40f438878c6585f Mon Sep 17 00:00:00 2001 From: Chris Craik Date: Wed, 11 Feb 2015 13:17:06 -0800 Subject: Glop Bitmap and RoundRect clipping support Change-Id: I4577546a5d2e5f084cc03f39a89db9231b8111ee --- libs/hwui/Program.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs/hwui/Program.h') diff --git a/libs/hwui/Program.h b/libs/hwui/Program.h index 01231b52c84e..af1e4a74d46e 100644 --- a/libs/hwui/Program.h +++ b/libs/hwui/Program.h @@ -25,6 +25,7 @@ #include #include "Debug.h" +#include "FloatColor.h" #include "Matrix.h" #include "Properties.h" @@ -363,7 +364,7 @@ public: /** * Sets the color associated with this shader. */ - void setColor(const float r, const float g, const float b, const float a); + void setColor(FloatColor color); /** * Name of the texCoords attribute if it exists (kBindingTexCoords), -1 otherwise. -- cgit v1.2.3-59-g8ed1b