mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	gl_shader_manager: Avoid unnecessary std::vector copy in LoadDiskCache()
Same behavior, but without an unnecessary reallocation.
This commit is contained in:
		
							parent
							
								
									db5b8b9c88
								
							
						
					
					
						commit
						2d83b39532
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -445,7 +445,7 @@ void ShaderProgramManager::LoadDiskCache(const std::atomic_bool& stop_loading, | ||||||
|     if (!transferable) { |     if (!transferable) { | ||||||
|         return; |         return; | ||||||
|     } |     } | ||||||
|     const auto raws = *transferable; |     const auto& raws = *transferable; | ||||||
| 
 | 
 | ||||||
|     auto [decompiled, dumps] = disk_cache.LoadPrecompiled(); |     auto [decompiled, dumps] = disk_cache.LoadPrecompiled(); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue