18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-20 06:55:02 +01:00

Merge pull request #386 from MaSzyna-EU07/fix/editor-trackbed-texture-crash

fix(editor): the texture pickers let go of the images scrolled past, the memory no longer runs out
This commit is contained in:
2026-11-16 16:01:30 +00:00
committed by GitHub
14 changed files with 147 additions and 12 deletions

View File

@@ -1931,6 +1931,12 @@ opengl_renderer::Texture( texture_handle const Texture ) const {
return m_textures.texture( Texture );
}
void
opengl_renderer::Unload_Texture( texture_handle const Texture ) {
m_textures.unload( Texture );
}
void
opengl_renderer::Pick_Control_Callback( std::function<void( TSubModel const *, const glm::vec2 )> Callback ) {