Chromium Code Reviews| Index: gpu/command_buffer/service/gles2_cmd_decoder.cc |
| =================================================================== |
| --- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 78980) |
| +++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy) |
| @@ -3622,8 +3622,13 @@ |
| } |
| 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); |
| + } |
|
twiz
2011/03/22 21:58:17
Are there other instances where similiar changes w
|
| GLenum error = glGetError(); |
| if (error == GL_NO_ERROR) { |
| bound_renderbuffer_->SetInfo(samples, internalformat, width, height); |