aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/gl/GrGLVertexBuffer.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-08 16:45:22 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-03-08 16:45:22 +0000
commitd850c18fdf3d69cb22316ca277ea828d4dd0a678 (patch)
treeca5b713528dda80b1e03f508f1b0f40c22f6ef09 /src/gpu/gl/GrGLVertexBuffer.cpp
parent3f5a95e9745c5ea1f960d1454cf7df5942fa5ded (diff)
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
Diffstat (limited to 'src/gpu/gl/GrGLVertexBuffer.cpp')
-rw-r--r--src/gpu/gl/GrGLVertexBuffer.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLVertexBuffer.cpp b/src/gpu/gl/GrGLVertexBuffer.cpp
index 48479dcf44..5c94c36309 100644
--- a/src/gpu/gl/GrGLVertexBuffer.cpp
+++ b/src/gpu/gl/GrGLVertexBuffer.cpp
@@ -81,7 +81,8 @@ void GrGLVertexBuffer::unlock() {
bool GrGLVertexBuffer::isLocked() const {
GrAssert(!this->isValid() || fBufferID);
-#if GR_DEBUG
+ // this check causes a lot of noise in the gl log
+#if 0
if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) {
GrGLint mapped;
this->bind();