diff options
Diffstat (limited to 'chromium/gpu/command_buffer/service/framebuffer_manager.cc')
-rw-r--r-- | chromium/gpu/command_buffer/service/framebuffer_manager.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chromium/gpu/command_buffer/service/framebuffer_manager.cc b/chromium/gpu/command_buffer/service/framebuffer_manager.cc index b4c6b090f0f..b468262ecef 100644 --- a/chromium/gpu/command_buffer/service/framebuffer_manager.cc +++ b/chromium/gpu/command_buffer/service/framebuffer_manager.cc @@ -203,13 +203,6 @@ class TextureAttachment uint32 need = GLES2Util::GetChannelsNeededForAttachmentType( attachment_type, max_color_attachments); uint32 have = GLES2Util::GetChannelsForFormat(internal_format); - - // Workaround for NVIDIA drivers that incorrectly expose these formats as - // renderable: - if (internal_format == GL_LUMINANCE || internal_format == GL_ALPHA || - internal_format == GL_LUMINANCE_ALPHA) { - return false; - } return (need & have) != 0; } |