ソースを参照

Fix track_alloc description in doc

-D track_alloc was moved to runtime function in bf45c519
Yuxiao Mao 7 ヶ月 前
コミット
9e37d78f79
1 ファイル変更2 行追加1 行削除
  1. 2 1
      h3d/impl/MemoryManager.hx

+ 2 - 1
h3d/impl/MemoryManager.hx

@@ -256,7 +256,8 @@ class MemoryManager {
 	}
 
 	/**
-	 * Return statistics for currently allocated buffers and textures. Requires -D track-alloc compilation flag
+	 * Return statistics for currently allocated buffers and textures.
+	 * Requires call `MemoryManager.enableTrackAlloc()` before allocations.
 	 */
 	@:access(h3d.Buffer)
 	public function allocStats() : Array<AllocStats> {