aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-07 21:16:41 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-02-07 21:16:41 +0000
commitedbd21aa39fa706d38910bd9c14bef56c381409a (patch)
tree8369b7f271eaa155a14b569ebeaaaf948bcc62c2 /src/gpu
parent82b0ec6ea408d866e02805fbe0519d00d2e87627 (diff)
Temporarily disable new GL error checking in ~SkGLContext
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/gl/SkGLContext.cpp7
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);