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
This commit is contained in:
bsalomon@google.com 2012-03-08 16:45:22 +00:00
parent 3f5a95e974
commit d850c18fdf
2 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,8 @@ void GrGLIndexBuffer::unlock() {
}
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;

View File

@ -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();