File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 2727 * <p>
2828 * LWJGL 3 provides a better way to handle such situations, which is by using the MemoryStack class. This class allows
2929 * to retrieve a small chunk of memory from a pre-allocated thread-local memory region of a fixed size. It is a stack
30- * because allocations/deallocations must be issued in FIFO order, in that allocations cannot be freed randomly bust
30+ * because allocations/deallocations must be issued in LIFO order, in that allocations cannot be freed randomly bust
3131 * must be freed in the reverse allocation order. This allows to avoid any heap allocation and compaction strategies.
3232 * <p>
3333 * Also note that the pre-allocated memory of the MemoryStack is per thread. That means, every thread will get its own
You can’t perform that action at this time.
0 commit comments