diff options
author | Aura Linden <aura@lindenlab.com> | 2014-08-01 14:26:33 -0700 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2014-08-01 14:26:33 -0700 |
commit | fb7c5efe3217e10a8258c9ed276116f64925e0e0 (patch) | |
tree | aa6109670d22842107a19281d655f9a63613b1b8 /indra/llcommon | |
parent | 83d5f20b1cbd29a86090f40b1dcc9236f15ca249 (diff) | |
parent | 342833534f44cf702b9680c24e520904da8c8ecf (diff) |
Pulled in fix for maint-4184 blurry textures
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-x | indra/llcommon/llmemory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcommon/llmemory.h b/indra/llcommon/llmemory.h index db52f2b1f4..7d1d541a4b 100755 --- a/indra/llcommon/llmemory.h +++ b/indra/llcommon/llmemory.h @@ -257,7 +257,8 @@ inline void ll_memcpy_nonaliased_aligned_16(char* __restrict dst, const char* __ assert((bytes % sizeof(F32))== 0); ll_assert_aligned(src,16); ll_assert_aligned(dst,16); - assert((src < dst) ? ((src + bytes) < dst) : ((dst + bytes) < src)); + + assert((src < dst) ? ((src + bytes) <= dst) : ((dst + bytes) <= src)); assert(bytes%16==0); char* end = dst + bytes; |