diff options
author | Brian Paul <[email protected]> | 2012-01-16 11:48:18 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-01-24 14:12:24 -0700 |
commit | 1e1b5cb01a10e39d01923e3c7e989c44210950cd (patch) | |
tree | 6ed5e6042194c7126c5ebfcb8f30b1738c54d4b6 /src/mesa/drivers/dri/intel/intel_fbo.c | |
parent | 82846fea4d042466ccfd5b3c86d98e856086cc05 (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.c | 2 |
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; |