aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLEffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/gl/GrGLEffect.cpp')
-rw-r--r--src/gpu/gl/GrGLEffect.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/gl/GrGLEffect.cpp b/src/gpu/gl/GrGLEffect.cpp
index e21ab1dab9..28be7afb34 100644
--- a/src/gpu/gl/GrGLEffect.cpp
+++ b/src/gpu/gl/GrGLEffect.cpp
@@ -28,7 +28,7 @@ GrGLEffect::EffectKey GrGLEffect::GenTextureKey(const GrDrawEffect& drawEffect,
for (int index = 0; index < numTextures; ++index) {
const GrTextureAccess& access = (*drawEffect.effect())->textureAccess(index);
EffectKey value = GrGLShaderBuilder::KeyForTextureAccess(access, caps) << index;
- GrAssert(0 == (value & key)); // keys for each access ought not to overlap
+ SkASSERT(0 == (value & key)); // keys for each access ought not to overlap
key |= value;
}
return key;
@@ -38,11 +38,11 @@ GrGLEffect::EffectKey GrGLEffect::GenAttribKey(const GrDrawEffect& drawEffect) {
EffectKey key = 0;
int numAttributes = drawEffect.getVertexAttribIndexCount();
- GrAssert(numAttributes <= 2);
+ SkASSERT(numAttributes <= 2);
const int* attributeIndices = drawEffect.getVertexAttribIndices();
for (int index = 0; index < numAttributes; ++index) {
EffectKey value = attributeIndices[index] << 3*index;
- GrAssert(0 == (value & key)); // keys for each attribute ought not to overlap
+ SkASSERT(0 == (value & key)); // keys for each attribute ought not to overlap
key |= value;
}