Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index d56566379dc41819e9c9116b217bac17159d5f13..3a34de2c60df3c1d1a52a8769b74403bd3ba7ece 100644 |
--- a/src/gpu/gl/GrGpuGL.cpp |
+++ b/src/gpu/gl/GrGpuGL.cpp |
@@ -146,7 +146,7 @@ GrGpuGL::GrGpuGL(const GrGLContext& ctx, GrContext* context) |
fProgramCache = SkNEW_ARGS(ProgramCache, (this)); |
- SkASSERT(this->glCaps().maxVertexAttributes() >= GrDrawState::kMaxVertexAttribCnt); |
+ SkASSERT(this->glCaps().maxVertexAttributes() >= GrGeometryProcessor::kMaxVertexAttribs); |
fLastSuccessfulStencilFmtIdx = 0; |
fHWProgramID = 0; |