Index: gpu/command_buffer/service/framebuffer_manager.cc |
diff --git a/gpu/command_buffer/service/framebuffer_manager.cc b/gpu/command_buffer/service/framebuffer_manager.cc |
index cce15a22b536d25281986b38176f3381db39a7b8..6f272008112c9eef7a9039b82ca0fafb9e3f9552 100644 |
--- a/gpu/command_buffer/service/framebuffer_manager.cc |
+++ b/gpu/command_buffer/service/framebuffer_manager.cc |
@@ -136,7 +136,8 @@ class RenderbufferAttachment |
} |
bool FormsFeedbackLoop(TextureRef* /* texture */, |
- GLint /*level */) const override { |
+ GLint /* level */, |
+ GLint /* layer */) const override { |
return false; |
} |
@@ -306,8 +307,10 @@ class TextureAttachment |
texture_ref_.get(), target_, level_, signature); |
} |
- bool FormsFeedbackLoop(TextureRef* texture, GLint level) const override { |
- return texture == texture_ref_.get() && level == level_; |
+ bool FormsFeedbackLoop(TextureRef* texture, |
+ GLint level, GLint layer) const override { |
+ return texture == texture_ref_.get() && |
+ level == level_ && layer == layer_; |
} |
bool EmulatingRGB() const override { |