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/swrast/s_drawpix.c | |
parent | 82846fea4d042466ccfd5b3c86d98e856086cc05 (diff) |
mesa: remove gl_renderbuffer:RowStride field
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 5828a789ab9..5050ad92c23 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -522,7 +522,7 @@ fast_draw_depth_stencil(struct gl_context *ctx, GLint x, GLint y, srcRowStride = _mesa_image_row_stride(unpack, width, format, type); dst = _swrast_pixel_address(rb, x, y); - dstRowStride = rb->RowStride * 4; + dstRowStride = rb->RowStrideBytes; for (i = 0; i < height; i++) { _mesa_pack_uint_24_8_depth_stencil_row(rb->Format, width, |