Constify
This commit is contained in:
		
							parent
							
								
									bd63bc9cd2
								
							
						
					
					
						commit
						f3def32461
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -663,7 +663,7 @@ struct TilemapPrivate
 | 
			
		|||
 | 
			
		||||
			for (size_t i = 0; i < blits.size(); ++i)
 | 
			
		||||
			{
 | 
			
		||||
				TileAtlas::Blit &blitOp = blits[i];
 | 
			
		||||
				const TileAtlas::Blit &blitOp = blits[i];
 | 
			
		||||
 | 
			
		||||
				PixelStore::setupSubImage(tsSurf->w, blitOp.src.x, blitOp.src.y);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -679,7 +679,7 @@ struct TilemapPrivate
 | 
			
		|||
 | 
			
		||||
			for (size_t i = 0; i < blits.size(); ++i)
 | 
			
		||||
			{
 | 
			
		||||
				TileAtlas::Blit &blitOp = blits[i];
 | 
			
		||||
				const TileAtlas::Blit &blitOp = blits[i];
 | 
			
		||||
 | 
			
		||||
				FBO::blit(blitOp.src.x, blitOp.src.y, blitOp.dst.x, blitOp.dst.y, tsLaneW, blitOp.h);
 | 
			
		||||
			}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue