mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-03 23:56:43 +00:00 
			
		
		
		
	Clear unused buffers after unloading them all
This commit is contained in:
		
							parent
							
								
									5ad772c3b3
								
							
						
					
					
						commit
						574c1923fe
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -108,6 +108,7 @@ namespace MWSound
 | 
			
		|||
                    mOutput->unloadSound(sfxiter->mHandle);
 | 
			
		||||
                sfxiter->mHandle = 0;
 | 
			
		||||
            }
 | 
			
		||||
            mUnusedBuffers.clear();
 | 
			
		||||
        }
 | 
			
		||||
        mOutput.reset();
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue