mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-11-03 23:28:48 +00:00 
			
		
		
		
	android: gl_rasterizer_cache: Skip costly shutdown procedure.
This commit is contained in:
		
							parent
							
								
									4439423313
								
							
						
					
					
						commit
						855d19a468
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1103,7 +1103,10 @@ RasterizerCacheOpenGL::RasterizerCacheOpenGL() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
RasterizerCacheOpenGL::~RasterizerCacheOpenGL() {
 | 
			
		||||
#ifndef ANDROID
 | 
			
		||||
    // This is for switching renderers, which is unsupported on Android, and costly on shutdown
 | 
			
		||||
    ClearAll(false);
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
MICROPROFILE_DEFINE(OpenGL_BlitSurface, "OpenGL", "BlitSurface", MP_RGB(128, 192, 64));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue