aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPrimitiveProcessor.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-08-17 11:33:39 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-17 11:33:39 -0700
commit6cb807bf99ac0f8f166e1790f91bcb3afbfb5458 (patch)
tree8bb54651a6a9b1a6c018c52fcf285fd995276599 /src/gpu/GrPrimitiveProcessor.h
parent9da5dbdda3aec9875cdaa05c1815b4d8c17cb130 (diff)
Simplify adding attributes to GrGeometryProcessor
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r--src/gpu/GrPrimitiveProcessor.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/GrPrimitiveProcessor.h b/src/gpu/GrPrimitiveProcessor.h
index d27a6f31c7..5239a868db 100644
--- a/src/gpu/GrPrimitiveProcessor.h
+++ b/src/gpu/GrPrimitiveProcessor.h
@@ -156,8 +156,7 @@ public:
: fName(nullptr)
, fType(kFloat_GrVertexAttribType)
, fOffset(0) {}
- Attribute(const char* name, GrVertexAttribType type,
- GrSLPrecision precision = kDefault_GrSLPrecision)
+ Attribute(const char* name, GrVertexAttribType type, GrSLPrecision precision)
: fName(name)
, fType(type)
, fOffset(SkAlign4(GrVertexAttribTypeSize(type)))