From d0de60dc33df75fbcacb53a09568b14d0fd48cb9 Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 12 Jun 2023 17:09:55 +0200 Subject: Multithreaded world generation with Perlin --- src/GFX/Binder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GFX/Binder.cpp') diff --git a/src/GFX/Binder.cpp b/src/GFX/Binder.cpp index 0cc844d..0dce06d 100644 --- a/src/GFX/Binder.cpp +++ b/src/GFX/Binder.cpp @@ -4,7 +4,7 @@ namespace MC::GFX { -BindableMesh Binder::load(Mesh& mesh) { +BindableMesh Binder::load(Mesh mesh) { auto vao = create_vao(); if (!mesh.indices().empty()) { store_indices(mesh.indices().data(), mesh.indices().size()); -- cgit 1.4.1