Index: src/gpu/gl/GrGLPath.cpp |
diff --git a/src/gpu/gl/GrGLPath.cpp b/src/gpu/gl/GrGLPath.cpp |
index a6cf804c2f44196898f8d6e1a1c4ccf79c659e43..6097f469db8f03048db93407af4458a185570772 100644 |
--- a/src/gpu/gl/GrGLPath.cpp |
+++ b/src/gpu/gl/GrGLPath.cpp |
@@ -109,6 +109,8 @@ void GrGLPath::InitPathObject(GrGpuGL* gpu, |
GR_GL_CALL(gpu->glInterface(), |
PathCommands(pathID, verbCnt, &pathCommands[0], |
2 * pointCnt, GR_GL_FLOAT, &pathPoints[0])); |
+ } else { |
+ GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, 0, NULL, 0, GR_GL_FLOAT, NULL)); |
} |
if (stroke.needToApply()) { |