summaryrefslogtreecommitdiff
path: root/src/mesa/main/mtypes.h
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2013-04-18 10:05:51 -0700
committerJordan Justen <jordan.l.justen@intel.com>2013-05-01 15:30:48 -0700
commita05e201d4a142d0f5730cf63621f1999bff45e72 (patch)
treef42412d079cb4e41fd218a22ff208213c5049aef /src/mesa/main/mtypes.h
parentb8e41db053a7cceba81650b4a94fff65c06ef86e (diff)
mesa: add renderbuffer Depth field
With glFramebufferTexture, a renderbuffer may support all layers of the texture, so we need the depth of the renderbuffer to check for consistency which is required for framebuffer completeness. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/mesa/main/mtypes.h')
-rw-r--r--src/mesa/main/mtypes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 139c6afb706..130c7b7c03a 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2566,6 +2566,7 @@ struct gl_renderbuffer
GLuint Name;
GLint RefCount;
GLuint Width, Height;
+ GLuint Depth;
GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */
GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */
GLubyte NumSamples;