| Index: gpu/command_buffer/tests/gl_object_bindings_unittest.cc
|
| diff --git a/gpu/command_buffer/tests/gl_object_bindings_unittest.cc b/gpu/command_buffer/tests/gl_object_bindings_unittest.cc
|
| index b51e9a34085a5e6eaa9642d81c571c9892c1fd68..8440c94eef342035f48a357d09c8949b76fa5b8e 100644
|
| --- a/gpu/command_buffer/tests/gl_object_bindings_unittest.cc
|
| +++ b/gpu/command_buffer/tests/gl_object_bindings_unittest.cc
|
| @@ -30,6 +30,10 @@ class ObjectBindingsTest : public testing::Test {
|
| };
|
|
|
| TEST_F(ObjectBindingsTest, Buffers) {
|
| + if (!IsApplicable()) {
|
| + return;
|
| + }
|
| +
|
| const std::pair<GLenum, GLenum> buffer_bindings[] = {
|
| {GL_ARRAY_BUFFER, GL_ARRAY_BUFFER_BINDING},
|
| {GL_ELEMENT_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER_BINDING},
|
| @@ -66,6 +70,10 @@ TEST_F(ObjectBindingsTest, Buffers) {
|
| }
|
|
|
| TEST_F(ObjectBindingsTest, FramebufferAttachments) {
|
| + if (!IsApplicable()) {
|
| + return;
|
| + }
|
| +
|
| GLuint texture = 0;
|
| glGenTextures(1, &texture);
|
| glBindTexture(GL_TEXTURE_2D, texture);
|
|
|