diff options
author | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 14:38:08 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-23 14:38:08 +0000 |
commit | 866b91c5a6d3f03d68378952f8b60b4407c4741a (patch) | |
tree | 2ac2f5325b75f1adef10b06ae8ea58abdc7320d8 /gpu | |
parent | 3408914d1ec22162dceb3ea4fbdddb0573c29bc0 (diff) | |
download | chromium_src-866b91c5a6d3f03d68378952f8b60b4407c4741a.zip chromium_src-866b91c5a6d3f03d68378952f8b60b4407c4741a.tar.gz chromium_src-866b91c5a6d3f03d68378952f8b60b4407c4741a.tar.bz2 |
Take the ANGLE path for glRenderbufferStorageMultisample when on ANGLE.
Review URL: http://codereview.chromium.org/6724004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r-- | gpu/command_buffer/service/gles2_cmd_decoder.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc index 40bc479..0aa5a47 100644 --- a/gpu/command_buffer/service/gles2_cmd_decoder.cc +++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc @@ -3622,8 +3622,13 @@ void GLES2DecoderImpl::DoRenderbufferStorageMultisample( } CopyRealGLErrorsToWrapper(); - glRenderbufferStorageMultisampleEXT( - target, samples, impl_format, width, height); + if (IsAngle()) { + glRenderbufferStorageMultisampleANGLE( + target, samples, impl_format, width, height); + } else { + glRenderbufferStorageMultisampleEXT( + target, samples, impl_format, width, height); + } GLenum error = glGetError(); if (error == GL_NO_ERROR) { bound_renderbuffer_->SetInfo(samples, internalformat, width, height); |