Index: src/gpu/gl/GrGLSL.h |
diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/gl/GrGLSL.h |
index 883cc9b41accd7b342ef21076c11255ce66acd08..e65c8d3cecfb8c535ac7b48af4c048443700509d 100644 |
--- a/src/gpu/gl/GrGLSL.h |
+++ b/src/gpu/gl/GrGLSL.h |
@@ -61,14 +61,14 @@ static inline int GrSLTypeToVecLength(GrSLType type) { |
static inline const char* GrGLSLOnesVecf(int count) { |
static const char* kONESVEC[] = {"ERROR", "1.0", "vec2(1,1)", |
"vec3(1,1,1)", "vec4(1,1,1,1)"}; |
- GrAssert(count >= 1 && count < (int)GR_ARRAY_COUNT(kONESVEC)); |
+ SkASSERT(count >= 1 && count < (int)GR_ARRAY_COUNT(kONESVEC)); |
return kONESVEC[count]; |
} |
static inline const char* GrGLSLZerosVecf(int count) { |
static const char* kZEROSVEC[] = {"ERROR", "0.0", "vec2(0,0)", |
"vec3(0,0,0)", "vec4(0,0,0,0)"}; |
- GrAssert(count >= 1 && count < (int)GR_ARRAY_COUNT(kZEROSVEC)); |
+ SkASSERT(count >= 1 && count < (int)GR_ARRAY_COUNT(kZEROSVEC)); |
return kZEROSVEC[count]; |
} |
} |