diff options
Diffstat (limited to 'src/new_render/render.c')
-rw-r--r-- | src/new_render/render.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/new_render/render.c b/src/new_render/render.c index 2a0ea9d..a757c97 100644 --- a/src/new_render/render.c +++ b/src/new_render/render.c @@ -188,7 +188,7 @@ Mesh Mesh_Create(Geometry* geometry, bool free_on_upload) { GPU_BufferCreate(index_bytes, BUFFER_INDEX, BUFFER_FLAG_GPU, geometry->indices->data); m.is_uploaded = true; - m.geometry = *geometry; // clone geometry data and store on Mesh struct + m.geometry = *geometry; // clone geometry data and store on Mesh struct if (free_on_upload) { Geometry_Destroy(geometry); } |