mirror of
				https://github.com/thunderbrewhq/thunderbrew
				synced 2025-10-31 16:26:03 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			6 lines
		
	
	
		
			228 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			228 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| This example creates an SDL window and renderer, loads a texture
 | |
| from a .bmp file, and stretches it across the window. Each frame, we move
 | |
| the clipping rectangle around, so only a small square of the texture is
 | |
| actually drawn.
 | |
| 
 | 
