Index: src/gpu/gl/GrGpuGL.cpp |
diff --git a/src/gpu/gl/GrGpuGL.cpp b/src/gpu/gl/GrGpuGL.cpp |
index 32da5d77989aaee6078b6c5049cc77a3018f78d6..df35d2c78c4e75d46a7b0d3e2a7f187eecf63b65 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; |