| Index: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h
|
| diff --git a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h
|
| index c231f0913a2f385f6590b534634669d62eb0ab39..3987824eeda9033b65716ee60ed0af007055c53e 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h
|
| +++ b/third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTestHelpers.h
|
| @@ -214,8 +214,18 @@ class GLES2InterfaceForTests : public gpu::gles2::GLES2InterfaceStub,
|
| }
|
|
|
| void GetIntegerv(GLenum pname, GLint* value) override {
|
| - if (pname == GL_MAX_TEXTURE_SIZE)
|
| - *value = 1024;
|
| + switch (pname) {
|
| + case GL_DRAW_FRAMEBUFFER_BINDING:
|
| + *value = state_.draw_framebuffer_binding;
|
| + break;
|
| + case GL_READ_FRAMEBUFFER_BINDING:
|
| + *value = state_.read_framebuffer_binding;
|
| + break;
|
| + case GL_MAX_TEXTURE_SIZE:
|
| + *value = 1024;
|
| + default:
|
| + break;
|
| + }
|
| }
|
|
|
| void GenMailboxCHROMIUM(GLbyte* mailbox) override {
|
|
|