Index: src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
index 317657e61f4d55f32aa9e44601754342c92d9a4b..991b37d6a8cb16d7b2641e468878d4d320e40dc0 100644 |
--- a/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLVertexShaderBuilder.cpp |
@@ -54,13 +54,8 @@ void GrGLVertexBuilder::transformToNormalizedDeviceSpace() { |
int transformCount = transVs.count(); |
for (int i = 0; i < transformCount; i++) { |
GrCoordSet coordSet = transVs[i].fCoordSet; |
- const char* coords; |
+ const char* coords = NULL; |
switch (coordSet) { |
- default: |
- SkFAIL("Case missing"); |
- case kPosition_GrCoordSet: |
- coords = this->positionCoords(); |
- break; |
case kLocal_GrCoordSet: |
coords = this->localCoords(); |
break; |