diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-07 21:16:41 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-07 21:16:41 +0000 |
commit | edbd21aa39fa706d38910bd9c14bef56c381409a (patch) | |
tree | 8369b7f271eaa155a14b569ebeaaaf948bcc62c2 /src/gpu | |
parent | 82b0ec6ea408d866e02805fbe0519d00d2e87627 (diff) |
Temporarily disable new GL error checking in ~SkGLContext
https://codereview.appspot.com/7308064/
git-svn-id: http://skia.googlecode.com/svn/trunk@7657 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/gl/SkGLContext.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpu/gl/SkGLContext.cpp b/src/gpu/gl/SkGLContext.cpp index 59ac31daff..c1b9505698 100644 --- a/src/gpu/gl/SkGLContext.cpp +++ b/src/gpu/gl/SkGLContext.cpp @@ -20,9 +20,10 @@ SkGLContext::SkGLContext() SkGLContext::~SkGLContext() { if (fGL) { - SK_GL(*this, DeleteFramebuffers(1, &fFBO)); - SK_GL(*this, DeleteRenderbuffers(1, &fColorBufferID)); - SK_GL(*this, DeleteRenderbuffers(1, &fDepthStencilBufferID)); + // TODO: determine why DeleteFramebuffers is generating a GL error in tests + SK_GL_NOERRCHECK(*this, DeleteFramebuffers(1, &fFBO)); + SK_GL_NOERRCHECK(*this, DeleteRenderbuffers(1, &fColorBufferID)); + SK_GL_NOERRCHECK(*this, DeleteRenderbuffers(1, &fDepthStencilBufferID)); } SkSafeUnref(fGL); |