| Index: gpu/command_buffer/service/test_helper.cc
|
| diff --git a/gpu/command_buffer/service/test_helper.cc b/gpu/command_buffer/service/test_helper.cc
|
| index f92efed90e9a9797f57d5ced0753784f8f4c3ff9..ab4105f3c7761ced0aae854214c061116a73cbc0 100644
|
| --- a/gpu/command_buffer/service/test_helper.cc
|
| +++ b/gpu/command_buffer/service/test_helper.cc
|
| @@ -494,7 +494,6 @@
|
|
|
| bool enable_es3 = context_type == CONTEXT_TYPE_WEBGL2 ||
|
| context_type == CONTEXT_TYPE_OPENGLES3;
|
| - bool allow_float_buffers = context_type != CONTEXT_TYPE_WEBGL1;
|
|
|
| EXPECT_CALL(*gl, GetString(GL_VERSION))
|
| .WillOnce(Return(reinterpret_cast<const uint8_t*>(gl_version)))
|
| @@ -592,7 +591,7 @@
|
| .RetiresOnSaturation();
|
| }
|
|
|
| - if (status_rgba == GL_FRAMEBUFFER_COMPLETE && allow_float_buffers) {
|
| + if (status_rgba == GL_FRAMEBUFFER_COMPLETE && enable_es3) {
|
| EXPECT_CALL(*gl, TexImage2D(GL_TEXTURE_2D, 0, GL_R16F, width, width,
|
| 0, GL_RED, GL_FLOAT, _))
|
| .Times(1)
|
|
|