Refactor Main/Update thread communication #14

Merged
EmaMaker merged 5 commits from multithread-refactor into main 2023-10-04 14:58:11 +02:00

5 Commits (main)

Author SHA1 Message Date
EmaMaker e4c6eb50f3 Merge branch 'main' into multithread-refactor 2023-10-04 14:55:47 +02:00
EmaMaker 8401a3dca7 Merge branch 'main' into multithread-refactor 2023-10-04 14:51:56 +02:00
EmaMaker 255460892d blockpick control belongs to control, not chunkmgr 2023-10-04 14:41:44 +02:00
EmaMaker afdd622ec2 refactor message system between main and update threads
restores blockpicking with new multithread system
2023-10-04 14:35:29 +02:00
EmaMaker 93bc0e7066 renderer: do not send empty meshes to the gpu only at creation
I feel never sending empty meshes to the GPU is the cause of the bug causing floating quads near
chunk borders when a block is placed and then destroyed.
When destroying a block in a chunk, if nearby empty chunk meshes are not updated, the old mesh is
kept, which includes a quad at the border
2023-10-04 13:57:12 +02:00