[Mesa-dev] [PATCH] Copy Layered field in reuse_framebuffer_texture_attachment

Vincent Lejeune vljn at ovi.com
Thu Sep 11 14:42:30 PDT 2014


Fix #83596
https://bugs.freedesktop.org/show_bug.cgi?id=83596
---
 src/mesa/main/fbobject.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index ae3a418..5eaf1a3 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -2299,6 +2299,7 @@ reuse_framebuffer_texture_attachment(struct gl_framebuffer *fb,
    dst_att->Complete = src_att->Complete;
    dst_att->TextureLevel = src_att->TextureLevel;
    dst_att->Zoffset = src_att->Zoffset;
+   dst_att->Layered = src_att->Layered;
 }
 
 
-- 
1.9.3



More information about the mesa-dev mailing list