diff --git a/Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h b/Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h index cd961a19e..1872871f7 100644 --- a/Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h +++ b/Engine/source/gfx/gl/gfxGLCircularVolatileBuffer.h @@ -29,7 +29,7 @@ public: bool checkOverlap(U32 start, U32 end) { - if( mStart < end && start < mEnd ) + if ((mStart < end - 1) && (start < mEnd - 1)) return true; return false;