Demos update
-added functionality to detect host CPU threads count -fixed some memory leaks -now textures free memory corectly -added support for up to 32 threads
This commit is contained in:
parent
dd491302af
commit
3647fa4b86
6 changed files with 98 additions and 16 deletions
|
|
@ -230,7 +230,7 @@ struct Renderer
|
|||
block_stack_mutex.initialize();
|
||||
|
||||
|
||||
threads = Mallocator.makeArray!Thread(12);
|
||||
threads = Mallocator.makeArray!Thread(32);
|
||||
foreach(ref Thread thread;threads)
|
||||
{
|
||||
thread.block = getBlock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue