mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 20:19:18 +02:00
Tune EU7 PACK streaming for fast camera flight and reduce frame hitches
This commit is contained in:
@@ -63,7 +63,7 @@ warm_one_pack_texture( std::string texture_file, std::unordered_set<std::string>
|
||||
if( false == seen.insert( texture_file ).second ) {
|
||||
return false;
|
||||
}
|
||||
if( false == g_session_warmed_textures.insert( texture_file ).second ) {
|
||||
if( g_session_warmed_textures.contains( texture_file ) ) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -73,6 +73,8 @@ warm_one_pack_texture( std::string texture_file, std::unordered_set<std::string>
|
||||
log_pack_texture_fail( texture_file );
|
||||
return false;
|
||||
}
|
||||
|
||||
g_session_warmed_textures.insert( texture_file );
|
||||
GfxRenderer->Fetch_Material( resolved );
|
||||
|
||||
for( int skinindex { 1 }; skinindex <= 4; ++skinindex ) {
|
||||
|
||||
Reference in New Issue
Block a user