summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_fbo.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-16 11:48:18 -0700
committerBrian Paul <[email protected]>2012-01-24 14:12:24 -0700
commit1e1b5cb01a10e39d01923e3c7e989c44210950cd (patch)
tree6ed5e6042194c7126c5ebfcb8f30b1738c54d4b6 /src/mesa/drivers/dri/intel/intel_fbo.c
parent82846fea4d042466ccfd5b3c86d98e856086cc05 (diff)
mesa: remove gl_renderbuffer:RowStride field
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_fbo.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_fbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c
index d3c29244ddf..bd4fc7f589d 100644
--- a/src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/src/mesa/drivers/dri/intel/intel_fbo.c
@@ -135,7 +135,7 @@ intel_map_renderbuffer(struct gl_context *ctx,
if (!irb && rb->Data) {
/* this is a malloc'd renderbuffer (accum buffer) */
GLint bpp = _mesa_get_format_bytes(rb->Format);
- GLint rowStride = rb->RowStride * bpp;
+ GLint rowStride = rb->RowStrideBytes;
*out_map = (GLubyte *) rb->Data + y * rowStride + x * bpp;
*out_stride = rowStride;
return;