From 66b0d799ee0e22e07ca9a409d42bafe790695f3c Mon Sep 17 00:00:00 2001 From: tfarley Date: Fri, 29 May 2015 21:54:53 -0400 Subject: Render-to-texture flush, interval math fix --- src/common/math_util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common') diff --git a/src/common/math_util.h b/src/common/math_util.h index 4b091074..d44b06e7 100644 --- a/src/common/math_util.h +++ b/src/common/math_util.h @@ -12,7 +12,7 @@ namespace MathUtil { inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start1, unsigned length1) { - return (std::max(start0, start1) <= std::min(start0 + length0, start1 + length1)); + return (std::max(start0, start1) < std::min(start0 + length0, start1 + length1)); } template -- cgit v1.2.3