Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(901)

Unified Diff: content/common/gpu/texture_image_transport_surface.cc

Issue 11517014: TextureImageTransport: Remove some debug code in OnMakeCurrent(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/texture_image_transport_surface.cc
diff --git a/content/common/gpu/texture_image_transport_surface.cc b/content/common/gpu/texture_image_transport_surface.cc
index 7fa269006a27910f6ddd9b682bda35872a1e7f0d..b24d8834ce70d5f91458a0b9d47b355614e57ff1 100644
--- a/content/common/gpu/texture_image_transport_surface.cc
+++ b/content/common/gpu/texture_image_transport_surface.cc
@@ -134,16 +134,6 @@ bool TextureImageTransportSurface::OnMakeCurrent(gfx::GLContext* context) {
if (!backbuffer_.service_id && !is_swap_buffers_pending_ &&
backbuffer_suggested_allocation_) {
CreateBackTexture();
-
-#ifndef NDEBUG
- GLenum status = glCheckFramebufferStatusEXT(GL_FRAMEBUFFER);
- if (status != GL_FRAMEBUFFER_COMPLETE) {
- DLOG(ERROR) << "Framebuffer incomplete.";
- glDeleteFramebuffersEXT(1, &fbo_id_);
- fbo_id_ = 0;
- return false;
- }
-#endif
}
return true;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698