diff options
author | makamys <makamys@outlook.com> | 2022-06-07 23:45:01 +0200 |
---|---|---|
committer | makamys <makamys@outlook.com> | 2022-06-07 23:45:01 +0200 |
commit | 0b11fe4ec4da63811bdda20ae8b5f28a713cc3f6 (patch) | |
tree | 6c9aa15e233cdd39da7e45115808e29ea7febfb7 /src/main | |
parent | 641b12728fc3a79666dd0cccb9cd76e7d5698fa2 (diff) | |
download | Neodymium-0b11fe4ec4da63811bdda20ae8b5f28a713cc3f6.tar.gz Neodymium-0b11fe4ec4da63811bdda20ae8b5f28a713cc3f6.tar.bz2 Neodymium-0b11fe4ec4da63811bdda20ae8b5f28a713cc3f6.zip |
Increase GC rate
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java b/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java index ebfb334..77460e6 100644 --- a/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java +++ b/src/main/java/makamys/lodmod/renderer/GPUMemoryManager.java @@ -35,7 +35,7 @@ public class GPUMemoryManager { int moved = 0; int checksLeft = sentMeshes.size(); - while(moved < 1 && checksLeft-- > 0 && !sentMeshes.isEmpty()) { + while(moved < 4 && checksLeft-- > 0 && !sentMeshes.isEmpty()) { nextMesh++; if(nextMesh >= sentMeshes.size()) { nextMesh = 0; |