diff options
Diffstat (limited to 'src/gpu/gl/GrGLEffectMatrix.cpp')
-rw-r--r-- | src/gpu/gl/GrGLEffectMatrix.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpu/gl/GrGLEffectMatrix.cpp b/src/gpu/gl/GrGLEffectMatrix.cpp index 523b37e72e..437e6832c0 100644 --- a/src/gpu/gl/GrGLEffectMatrix.cpp +++ b/src/gpu/gl/GrGLEffectMatrix.cpp @@ -189,8 +189,7 @@ void GrGLEffectMatrix::setData(const GrGLUniformManager& uniformManager, const SkMatrix& matrix, const GrDrawEffect& drawEffect, const GrTexture* texture) { - GrAssert((GrGLUniformManager::kInvalidUniformHandle == fUni) == - (kVoid_GrSLType == fUniType)); + GrAssert(fUni.isValid() != (kVoid_GrSLType == fUniType)); const SkMatrix& coordChangeMatrix = GrEffect::kLocal_CoordsType == fCoordsType ? drawEffect.getCoordChangeMatrix() : SkMatrix::I(); |