mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
completed basic separation of visual renderer from simulation
This commit is contained in:
@@ -96,7 +96,7 @@ void
|
||||
ui_layer::set_background( std::string const &Filename ) {
|
||||
|
||||
if( false == Filename.empty() ) {
|
||||
m_background = GfxRenderer.GetTextureId( Filename, szTexturePath );
|
||||
m_background = GfxRenderer.Fetch_Texture( Filename );
|
||||
}
|
||||
else {
|
||||
m_background = NULL;
|
||||
|
||||
Reference in New Issue
Block a user