Bitmap: Fix blitshader draw_text path not taking squeezing into account
This commit is contained in:
		
							parent
							
								
									20081cb07e
								
							
						
					
					
						commit
						c88b4b03d6
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -970,7 +970,7 @@ void Bitmap::drawText(const IntRect &rect, const char *str, int align)
 | 
			
		|||
		GLMeta::blitEnd();
 | 
			
		||||
 | 
			
		||||
		FloatRect bltRect(0, 0,
 | 
			
		||||
		                  (float) gpTexSize.x / gpTex2.width,
 | 
			
		||||
		                  (float) (gpTexSize.x * squeeze) / gpTex2.width,
 | 
			
		||||
		                  (float) gpTexSize.y / gpTex2.height);
 | 
			
		||||
 | 
			
		||||
		BltShader &shader = shState->shaders().blt;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue