Index: gpu/command_buffer/service/feature_info.cc |
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc |
index fdc16a2598b86fdd2a6cc6d0fb0ee1f5a8b22b69..cd09bd0262bd40a3072ffada88f6b62d6bfa9574 100644 |
--- a/gpu/command_buffer/service/feature_info.cc |
+++ b/gpu/command_buffer/service/feature_info.cc |
@@ -268,7 +268,7 @@ bool IsGL_REDSupportedOnFBOs() { |
glFramebufferTexture2DEXT(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, |
textureId, 0); |
bool result = |
- glCheckFramebufferStatusEXT(GL_FRAMEBUFFER) != GL_FRAMEBUFFER_UNSUPPORTED; |
+ glCheckFramebufferStatusEXT(GL_FRAMEBUFFER) == GL_FRAMEBUFFER_COMPLETE; |
glDeleteFramebuffersEXT(1, &textureFBOID); |
glDeleteTextures(1, &textureId); |