Skip to content

Commit

Permalink
noggit: mapchunk: fix terrain holes display not being updated correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Adspartan committed May 31, 2024
1 parent fe01718 commit 20dee28
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/noggit/MapChunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -632,6 +632,9 @@ void MapChunk::prepare_draw ( const math::vector_3d& camera
_indice_strips.clear();

_need_indice_buffer_update = false;

indices_offsets[chunk_index()] = lod_indices_ptr(_lod_level);
indices_count[chunk_index()] = _indices_count_per_lod_level[_lod_level];
}

if (_need_vao_update)
Expand Down

0 comments on commit 20dee28

Please sign in to comment.