diff options
author | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 19:22:54 +0000 |
---|---|---|
committer | enne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-10-25 19:22:54 +0000 |
commit | 53862ed4f444cc73afd5913cb04932c072d9d6dc (patch) | |
tree | cf7ec0f1d4ad56e66ab18e09da17f8ff263fd564 /gpu/command_buffer/service | |
parent | 376ecd93d5f3abd1a405d8e10ca837e336eda5d5 (diff) | |
download | chromium_src-53862ed4f444cc73afd5913cb04932c072d9d6dc.zip chromium_src-53862ed4f444cc73afd5913cb04932c072d9d6dc.tar.gz chromium_src-53862ed4f444cc73afd5913cb04932c072d9d6dc.tar.bz2 |
Fix antialiasing in WebGL.
Fix command buffer issue where feature_info was being checked for an extension rather than using HasExtension to check the underlying GL implementation.
BUG=59988
TEST=shiny teapot WebGL demo
Review URL: http://codereview.chromium.org/3985001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63765 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/command_buffer/service')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index aafa312..db44669 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -1768,7 +1768,7 @@ bool GLES2DecoderImpl::Initialize(gfx::GLContext* context, return false; if (attrib_parser.samples_ > 0 && attrib_parser.sample_buffers_ > 0 && - (feature_info_->feature_flags().chromium_framebuffer_multisample || + (context_->HasExtension("GL_EXT_framebuffer_multisample") || context_->HasExtension("GL_ANGLE_framebuffer_multisample"))) { // Per ext_framebuffer_multisample spec, need max bound on sample count. GLint max_sample_count; |