Graphics: Properly initialize uniform before drawing
This commit is contained in:
		
							parent
							
								
									97f18beb91
								
							
						
					
					
						commit
						4a3a769b15
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -180,6 +180,7 @@ public:
 | 
			
		|||
		shader.setColor(c);
 | 
			
		||||
		shader.setFlash(f);
 | 
			
		||||
		shader.setTone(t);
 | 
			
		||||
		shader.setOpacity(1.0);
 | 
			
		||||
		shader.applyViewportProj();
 | 
			
		||||
		shader.setTexSize(geometry.rect.size());
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue