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:
@@ -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 ) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user