diff options
author | Zack Rusin <zack@tungstengraphics.com> | 2007-12-19 13:22:27 -0500 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2007-12-19 18:49:46 +0000 |
commit | a65f39f918f3a28c3c4e38036099d4ce97fcfac7 (patch) | |
tree | 53871b515a5073f5388247a175b991b370550469 /src/mesa/pipe/xlib | |
parent | dc461d8c8764e2bd8303c1955f244bacab4467fa (diff) |
consts
Diffstat (limited to 'src/mesa/pipe/xlib')
-rw-r--r-- | src/mesa/pipe/xlib/xm_winsys_aub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/xlib/xm_winsys_aub.c b/src/mesa/pipe/xlib/xm_winsys_aub.c index 60ba233f35..2d276480cb 100644 --- a/src/mesa/pipe/xlib/xm_winsys_aub.c +++ b/src/mesa/pipe/xlib/xm_winsys_aub.c @@ -259,7 +259,7 @@ static int aub_buffer_get_subdata(struct pipe_winsys *winsys, void *data) { struct aub_buffer *sbo = aub_bo(buf); - assert(sbo->size > offset + size); + assert(sbo->size >= offset + size); memcpy(data, sbo->data + offset, size); return 0; } |