Browse Source

Increase max memory size for buffer.
GPU-driven rendering needs more and bigger buffers while texture memory doesn't increase.
Sometimes the current limit is too low and modern GPU allows increasing this size.

borisrp 1 month ago
parent
commit
979213b712
1 changed files with 1 additions and 1 deletions
  1. 1 1
      h3d/impl/MemoryManager.hx

+ 1 - 1
h3d/impl/MemoryManager.hx

@@ -22,7 +22,7 @@ typedef TextureStat = {
 
 class MemoryManager {
 
-	static inline var MAX_MEMORY = 4096 * (1024. * 1024.); // MB
+	static inline var MAX_MEMORY = 6144 * (1024. * 1024.); // MB
 	static inline var SIZE = 65532;
 	static var ALL_FLAGS = Type.allEnums(Buffer.BufferFlag);