Index: tools/gpu/gl/debug/DebugGLTestContext.cpp |
diff --git a/tools/gpu/gl/debug/DebugGLTestContext.cpp b/tools/gpu/gl/debug/DebugGLTestContext.cpp |
index 022d56a452a1ccd4c57260869a8759f14e358b7a..481abd547fb62ba9dbe3d9b3c9708eb077caaea1 100644 |
--- a/tools/gpu/gl/debug/DebugGLTestContext.cpp |
+++ b/tools/gpu/gl/debug/DebugGLTestContext.cpp |
@@ -263,10 +263,6 @@ public: |
textures[i] == frameBuffer->getColor()->getID()) { |
frameBuffer->setColor(nullptr); |
} |
- if (frameBuffer->getDepth() && |
- textures[i] == frameBuffer->getDepth()->getID()) { |
- frameBuffer->setDepth(nullptr); |
- } |
if (frameBuffer->getStencil() && |
textures[i] == frameBuffer->getStencil()->getID()) { |
frameBuffer->setStencil(nullptr); |
@@ -342,10 +338,6 @@ public: |
renderBuffers[i] == frameBuffer->getColor()->getID()) { |
frameBuffer->setColor(nullptr); |
} |
- if (frameBuffer->getDepth() && |
- renderBuffers[i] == frameBuffer->getDepth()->getID()) { |
- frameBuffer->setDepth(nullptr); |
- } |
if (frameBuffer->getStencil() && |
renderBuffers[i] == frameBuffer->getStencil()->getID()) { |
frameBuffer->setStencil(nullptr); |
@@ -397,9 +389,6 @@ public: |
case GR_GL_COLOR_ATTACHMENT0: |
framebuffer->setColor(renderbuffer); |
break; |
- case GR_GL_DEPTH_ATTACHMENT: |
- framebuffer->setDepth(renderbuffer); |
- break; |
case GR_GL_STENCIL_ATTACHMENT: |
framebuffer->setStencil(renderbuffer); |
break; |
@@ -438,9 +427,6 @@ public: |
case GR_GL_COLOR_ATTACHMENT0: |
framebuffer->setColor(texture); |
break; |
- case GR_GL_DEPTH_ATTACHMENT: |
- framebuffer->setDepth(texture); |
- break; |
case GR_GL_STENCIL_ATTACHMENT: |
framebuffer->setStencil(texture); |
break; |