aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/fbobject.h
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2013-04-18 10:08:50 -0700
committerJordan Justen <[email protected]>2013-05-01 15:31:44 -0700
commita62808085a09bbf45519567e3a3a83aa485821f6 (patch)
tree14818ce4e6a9f1028036aa9bc40d5f0647576ed8 /src/mesa/main/fbobject.h
parenta05e201d4a142d0f5730cf63621f1999bff45e72 (diff)
mesa: add renderbuffer attachment Layered field
If glFramebufferTexture is used, then the framebuffer attachment is layered. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.h')
-rw-r--r--src/mesa/main/fbobject.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h
index 9e934add424..5ebbb3538f8 100644
--- a/src/mesa/main/fbobject.h
+++ b/src/mesa/main/fbobject.h
@@ -99,7 +99,8 @@ _mesa_set_texture_attachment(struct gl_context *ctx,
struct gl_framebuffer *fb,
struct gl_renderbuffer_attachment *att,
struct gl_texture_object *texObj,
- GLenum texTarget, GLuint level, GLuint zoffset);
+ GLenum texTarget, GLuint level, GLuint zoffset,
+ GLboolean layered);
extern void
_mesa_set_renderbuffer_attachment(struct gl_context *ctx,