Преглед на файлове

Fix track_alloc description in doc

-D track_alloc was moved to runtime function in bf45c519
Yuxiao Mao преди 7 месеца
родител
ревизия
823917ea38
променени са 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)
 	@:access(h3d.Buffer)
 	public function allocStats() : Array<AllocStats> {
 	public function allocStats() : Array<AllocStats> {