summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2014-08-01 14:26:33 -0700
committerAura Linden <aura@lindenlab.com>2014-08-01 14:26:33 -0700
commitfb7c5efe3217e10a8258c9ed276116f64925e0e0 (patch)
treeaa6109670d22842107a19281d655f9a63613b1b8 /indra/llcommon
parent83d5f20b1cbd29a86090f40b1dcc9236f15ca249 (diff)
parent342833534f44cf702b9680c24e520904da8c8ecf (diff)
Pulled in fix for maint-4184 blurry textures
Diffstat (limited to 'indra/llcommon')
-rwxr-xr-xindra/llcommon/llmemory.h3
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;