twn_textures.c: fix repeated bind to work over varying channel count
This commit is contained in:
		@@ -573,7 +573,7 @@ void textures_bind_repeating(const TextureCache *cache, TextureKey key) {
 | 
			
		||||
 | 
			
		||||
            upload_gpu_texture(repeating_texture,
 | 
			
		||||
                               texture.data->pixels,
 | 
			
		||||
                               4,
 | 
			
		||||
                               texture.data->format->BytesPerPixel,
 | 
			
		||||
                               texture.data->w,
 | 
			
		||||
                               texture.data->h);
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user