hs

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | LICENSE

commit 62d48b5e3f366c629bc055f517ec9224c1fc41ea
parent 4b2771b2f559d07934eff82ff0b8312fb9ec2244
Author: Samdal <samdal@protonmail.com>
Date:   Mon,  4 Oct 2021 14:30:04 +0200

remove update_vbo from aroom_set_tilemap

Diffstat:
Mhs_graphics.h | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/hs_graphics.h b/hs_graphics.h @@ -1134,7 +1134,6 @@ hs_aroom_set_tilemap(const hs_aroom aroom, hs_tilemap* tilemap, const uint16_t l for(uint32_t i = 0; i < aroom.width * aroom.height; i++) hs_tilemap_set(tilemap, i, aroom.data[i]); } - hs_tilemap_update_vbo(*tilemap); } void @@ -1155,7 +1154,6 @@ hs_aroom_set_tilemap_offsetv(const hs_aroom aroom, hs_tilemap* tilemap, const ui for(uint32_t y = offset.y; y < offset.y + aroom.height; y++) hs_tilemap_set_xy(tilemap, x, y, aroom.data[i++]); } - hs_tilemap_update_vbo(*tilemap); } inline hs_shader_program_tex