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:
parent
3f5a95e974
commit
d850c18fdf
@ -84,7 +84,8 @@ void GrGLIndexBuffer::unlock() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool GrGLIndexBuffer::isLocked() const {
|
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) {
|
if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) {
|
||||||
this->bind();
|
this->bind();
|
||||||
GrGLint mapped;
|
GrGLint mapped;
|
||||||
|
@ -81,7 +81,8 @@ void GrGLVertexBuffer::unlock() {
|
|||||||
|
|
||||||
bool GrGLVertexBuffer::isLocked() const {
|
bool GrGLVertexBuffer::isLocked() const {
|
||||||
GrAssert(!this->isValid() || fBufferID);
|
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) {
|
if (this->isValid() && this->getGpu()->getCaps().fBufferLockSupport) {
|
||||||
GrGLint mapped;
|
GrGLint mapped;
|
||||||
this->bind();
|
this->bind();
|
||||||
|
Loading…
Reference in New Issue
Block a user