Skip to content

Commit

Permalink
#5963: Increase the operation count threshold a bit when syncing buff…
Browse files Browse the repository at this point in the history
…ers, editing a few patch vertices will be faster this way
  • Loading branch information
codereader committed May 29, 2022
1 parent fa46ff6 commit 9ec3f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/render/ContinuousBuffer.h
Expand Up @@ -342,7 +342,7 @@ class ContinuousBuffer
buffer->bind();

// Less than a couple of operations will be copied piece by piece
if (_unsyncedModifications.size() < 20)
if (_unsyncedModifications.size() < 100)
{
for (auto modifiedChunk : _unsyncedModifications)
{
Expand Down

0 comments on commit 9ec3f1c

Please sign in to comment.