summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/xlib
diff options
context:
space:
mode:
authorZack Rusin <[email protected]>2007-12-19 13:22:27 -0500
committerKeith Whitwell <[email protected]>2007-12-19 18:49:46 +0000
commita65f39f918f3a28c3c4e38036099d4ce97fcfac7 (patch)
tree53871b515a5073f5388247a175b991b370550469 /src/mesa/pipe/xlib
parentdc461d8c8764e2bd8303c1955f244bacab4467fa (diff)
consts
Diffstat (limited to 'src/mesa/pipe/xlib')
-rw-r--r--src/mesa/pipe/xlib/xm_winsys_aub.c2
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 60ba233f35d..2d276480cbb 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;
}