Fix window opacity not being applied on vert (re)construction
This commit is contained in:
		
							parent
							
								
									43aacc13d9
								
							
						
					
					
						commit
						92ab65ba52
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -371,6 +371,7 @@ struct WindowPrivate
 | 
			
		|||
		FloatRect texRect = FloatRect(0, 0, size.x, size.y);
 | 
			
		||||
		baseTexQuad.setTexPosRect(texRect, texRect);
 | 
			
		||||
 | 
			
		||||
		opacityDirty = true;
 | 
			
		||||
		baseTexDirty = true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -521,6 +522,7 @@ struct WindowPrivate
 | 
			
		|||
			baseVertDirty = false;
 | 
			
		||||
			updateBaseQuadArray = true;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if (opacityDirty)
 | 
			
		||||
		{
 | 
			
		||||
			updateBaseAlpha();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue