From 3e880dcdccbd4a0ec1ec1fde2450e68aabd11ac7 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Wed, 7 Jan 2026 21:33:16 -0600 Subject: [PATCH] [nostalgia/gfx/studio] Remove unused EBO management --- .../gfx/src/studio/tilesheeteditor/tilesheetpixelgrid.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/tilesheetpixelgrid.cpp b/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/tilesheetpixelgrid.cpp index c24549cc..a443e031 100644 --- a/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/tilesheetpixelgrid.cpp +++ b/src/nostalgia/modules/gfx/src/studio/tilesheeteditor/tilesheetpixelgrid.cpp @@ -69,7 +69,7 @@ void TileSheetGrid::update(ox::Vec2 const &paneSize, TileSheet::SubSheet const & glBindVertexArray(m_bufferSet.vao); setBufferObjects(paneSize, subsheet); glutils::sendVbo(m_bufferSet); - glutils::sendEbo(m_bufferSet); + //glutils::sendEbo(m_bufferSet); } void TileSheetGrid::setBufferObject( @@ -89,7 +89,6 @@ void TileSheetGrid::setBufferObject( void TileSheetGrid::setBufferObjects(ox::Vec2 const &paneSize, TileSheet::SubSheet const &subsheet) noexcept { if (subsheet.columns < 1 || subsheet.rows < 1) { - m_bufferSet.elements.clear(); m_bufferSet.vertices.clear(); return; }