Simplify message to FBO Impls of attachment changes.
We don't need to pass attachment pointers, since they are now
value types, and no longer change their address.
BUG=angleproject:963
Change-Id: I02cdce0886512cc847930f61c5bfb62fc1d7cd1a
Reviewed-on: https://chromium-review.googlesource.com/265938
Tested-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
diff --git a/src/libANGLE/renderer/d3d/FramebufferD3D.cpp b/src/libANGLE/renderer/d3d/FramebufferD3D.cpp
index 0006ba5..a1e0391 100644
--- a/src/libANGLE/renderer/d3d/FramebufferD3D.cpp
+++ b/src/libANGLE/renderer/d3d/FramebufferD3D.cpp
@@ -97,20 +97,20 @@
{
}
-void FramebufferD3D::setColorAttachment(size_t, const gl::FramebufferAttachment *)
+void FramebufferD3D::onUpdateColorAttachment(size_t /*index*/)
{
mInvalidateColorAttachmentCache = true;
}
-void FramebufferD3D::setDepthAttachment(const gl::FramebufferAttachment *)
+void FramebufferD3D::onUpdateDepthAttachment()
{
}
-void FramebufferD3D::setStencilAttachment(const gl::FramebufferAttachment *)
+void FramebufferD3D::onUpdateStencilAttachment()
{
}
-void FramebufferD3D::setDepthStencilAttachment(const gl::FramebufferAttachment *)
+void FramebufferD3D::onUpdateDepthStencilAttachment()
{
}