summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mtypes.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index e8a9d427043..f69279a3c53 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2547,7 +2547,6 @@ struct gl_renderbuffer
GLuint Name;
GLint RefCount;
GLuint Width, Height;
- GLint RowStride; /**< Padded width in units of pixels */
GLboolean Purgeable; /**< Is the buffer purgeable under memory pressure? */
GLboolean AttachedAnytime; /**< TRUE if it was attached to a framebuffer */
@@ -2559,9 +2558,15 @@ struct gl_renderbuffer
GL_STENCIL_INDEX. */
gl_format Format; /**< The actual renderbuffer memory format */
+ /* XXX the following 3 fields are obsolete and wil go away */
+ GLint RowStride; /**< Padded width in units of pixels */
GLenum DataType; /**< Type of values passed to the Get/Put functions */
GLvoid *Data; /**< This may not be used by some kinds of RBs */
+ /** The following fields are only valid while the buffer is mapped */
+ GLubyte *Map;
+ GLint RowStrideBytes;
+
/* Used to wrap one renderbuffer around another: */
struct gl_renderbuffer *Wrapped;