From ae06feae7876db47ff0e1fde40cf4a324a412037 Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 11 May 2014 17:40:10 +0200 Subject: mesa git update 11 May 2014 mesa commit 83b4ec03e77645c537d540a12253b3492bad4b59 --- mesalib/src/mesa/main/fbobject.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesalib/src/mesa/main/fbobject.c') diff --git a/mesalib/src/mesa/main/fbobject.c b/mesalib/src/mesa/main/fbobject.c index ca16ae1ec..97538bc7b 100644 --- a/mesalib/src/mesa/main/fbobject.c +++ b/mesalib/src/mesa/main/fbobject.c @@ -1058,6 +1058,8 @@ _mesa_test_framebuffer_completeness(struct gl_context *ctx, if (att->Layered) { if (att_tex_target == GL_TEXTURE_CUBE_MAP) att_layer_count = 6; + else if (att_tex_target == GL_TEXTURE_1D_ARRAY) + att_layer_count = att->Renderbuffer->Height; else att_layer_count = att->Renderbuffer->Depth; } else { -- cgit v1.2.3