| Index: src/gpu/gl/GrGLPathRange.cpp
|
| diff --git a/src/gpu/gl/GrGLPathRange.cpp b/src/gpu/gl/GrGLPathRange.cpp
|
| index 9aaf9db26bd29d5884974a9e5c47eabcafee2bb5..5295207710e234ccc0cfca2b9a121e18cb9b3e0b 100644
|
| --- a/src/gpu/gl/GrGLPathRange.cpp
|
| +++ b/src/gpu/gl/GrGLPathRange.cpp
|
| @@ -28,7 +28,10 @@ void GrGLPathRange::initAt(size_t index, const SkPath& skPath) {
|
| }
|
|
|
| // Make sure the path at this index hasn't been initted already.
|
| - SkASSERT(GR_GL_FALSE == gpu->glPathRendering()->isPath(fBasePathID + index));
|
| + SkDEBUGCODE(
|
| + GrGLboolean isPath;
|
| + GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index)));
|
| + SkASSERT(GR_GL_FALSE == isPath);
|
|
|
| GrGLPath::InitPathObject(gpu, fBasePathID + index, skPath, fStroke);
|
| ++fNumDefinedPaths;
|
|
|