Index: include/gpu/GrTypesPriv.h |
diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h |
index 6135c14c12198232b67e41dbc7ea63545a278634..6cbd6bb0be3de165bf27d82ea94d086c46258f4d 100644 |
--- a/include/gpu/GrTypesPriv.h |
+++ b/include/gpu/GrTypesPriv.h |
@@ -178,6 +178,7 @@ static inline GrSLType GrVertexAttribTypeToSLType(GrVertexAttribType type) { |
switch (type) { |
default: |
SkFAIL("Unsupported type conversion"); |
+ return kVoid_GrSLType; |
case kUByte_GrVertexAttribType: |
case kFloat_GrVertexAttribType: |
return kFloat_GrSLType; |