mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	gl_rasterizer_cache: invalidate watchers on (partial) surface invalidation
This commit is contained in:
		
							parent
							
								
									fa141c799b
								
							
						
					
					
						commit
						d7196b5573
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -1807,6 +1807,7 @@ void RasterizerCacheOpenGL::InvalidateRegion(PAddr addr, u32 size, const Surface | ||||||
| 
 | 
 | ||||||
|             const auto interval = cached_surface->GetInterval() & invalid_interval; |             const auto interval = cached_surface->GetInterval() & invalid_interval; | ||||||
|             cached_surface->invalid_regions.insert(interval); |             cached_surface->invalid_regions.insert(interval); | ||||||
|  |             cached_surface->InvalidateAllWatcher(); | ||||||
| 
 | 
 | ||||||
|             // Remove only "empty" fill surfaces to avoid destroying and recreating OGL textures
 |             // Remove only "empty" fill surfaces to avoid destroying and recreating OGL textures
 | ||||||
|             if (cached_surface->type == SurfaceType::Fill && |             if (cached_surface->type == SurfaceType::Fill && | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue