Bitmap: Don't unbind shader after render op
Since all rendering is now shader based, there's normally no reason to ever unbind a shader program.
This commit is contained in:
		
							parent
							
								
									f39d1239bb
								
							
						
					
					
						commit
						f3572f5ba4
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
					@ -748,8 +748,6 @@ void Bitmap::hueChange(int hue)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	p->blitQuad(quad);
 | 
						p->blitQuad(quad);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	shader.unbind();
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	p->popViewport();
 | 
						p->popViewport();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	TEX::unbind();
 | 
						TEX::unbind();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue