Turn off pedantic check that causes too much noise in GL logs.
git-svn-id: http://skia.googlecode.com/svn/trunk@3343 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLIndexBuffer.cpp b/src/gpu/gl/GrGLIndexBuffer.cpp
index 60bd9a9..b99bdd4 100644
--- a/src/gpu/gl/GrGLIndexBuffer.cpp
+++ b/src/gpu/gl/GrGLIndexBuffer.cpp
@@ -84,7 +84,8 @@
}
bool GrGLIndexBuffer::isLocked() const {
-#if GR_DEBUG
+ // this check causes a lot of noise in the gl log
+#if 0
if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) {
this->bind();
GrGLint mapped;