diff options
author | 2016-08-17 11:33:39 -0700 | |
---|---|---|
committer | 2016-08-17 11:33:39 -0700 | |
commit | 6cb807bf99ac0f8f166e1790f91bcb3afbfb5458 (patch) | |
tree | 8bb54651a6a9b1a6c018c52fcf285fd995276599 /src/gpu/GrPrimitiveProcessor.h | |
parent | 9da5dbdda3aec9875cdaa05c1815b4d8c17cb130 (diff) |
Simplify adding attributes to GrGeometryProcessor
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2248323003
Review-Url: https://codereview.chromium.org/2248323003
Diffstat (limited to 'src/gpu/GrPrimitiveProcessor.h')
-rw-r--r-- | src/gpu/GrPrimitiveProcessor.h | 3 |
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))) |