mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	 df0397b10b
			
		
	
	df0397b10b
	
	
	
		
			
			This is necessary in case overlays change size. When this happens, we must damage the larger of the overlays' rectangles this frame and last frame. This erases the overlay from where it is no longer appears. In order to do this, we must keep track of the rectangles for every overlay with no exception. We cannot short-circuit the generation of rectangles if we run out of buffer space, and we must allocate space for MAX_OVERLAY_RECTS rectangles for every frame. Otherwise, we will not know where to erase the overlay if it disappears.