mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 07:33:45 +00:00
Merge pull request #1590 from Azaezel/alpha41/glCVBSafety
circular volatile buffer safety
This commit is contained in:
commit
b8ae99e70e
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue