summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon
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/radeon
parent82846fea4d042466ccfd5b3c86d98e856086cc05 (diff)
mesa: remove gl_renderbuffer:RowStride field
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_span.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_span.c b/src/mesa/drivers/dri/radeon/radeon_span.c
index be5a91340fa..6588ae82494 100644
--- a/src/mesa/drivers/dri/radeon/radeon_span.c
+++ b/src/mesa/drivers/dri/radeon/radeon_span.c
@@ -65,7 +65,6 @@ radeon_renderbuffer_map(struct gl_context *ctx, struct gl_renderbuffer *rb)
&map, &stride);
rb->Map = map;
- rb->RowStride = stride / _mesa_get_format_bytes(rb->Format);
rb->RowStrideBytes = stride;
}
@@ -79,7 +78,6 @@ radeon_renderbuffer_unmap(struct gl_context *ctx, struct gl_renderbuffer *rb)
ctx->Driver.UnmapRenderbuffer(ctx, rb);
rb->Map = NULL;
- rb->RowStride = 0;
rb->RowStrideBytes = 0;
}