mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-12 17:07:55 -04:00
fix possible rendering crash
This commit is contained in:
parent
6bb865867e
commit
d715c173f9
@ -184,6 +184,7 @@ class WorldRenderer(
|
|||||||
|
|
||||||
override fun draw() {
|
override fun draw() {
|
||||||
shader.use()
|
shader.use()
|
||||||
|
val visibleChunks = visibleChunks.toSynchronizedMap()
|
||||||
|
|
||||||
for ((_, map) in visibleChunks) {
|
for ((_, map) in visibleChunks) {
|
||||||
for ((_, mesh) in map) {
|
for ((_, mesh) in map) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user