| 
				
			 | 
			
			
				@@ -73,6 +73,8 @@ void slop::Framebuffer::unbind() { 
			 | 
		
	
		
			
			| 
				73
			 | 
			
				73
			 | 
			
			
				 } 
			 | 
		
	
		
			
			| 
				74
			 | 
			
				74
			 | 
			
			
				  
			 | 
		
	
		
			
			| 
				75
			 | 
			
				75
			 | 
			
			
				 void slop::Framebuffer::draw(){ 
			 | 
		
	
		
			
			| 
				
			 | 
			
				76
			 | 
			
			
				+    glEnable( GL_BLEND ); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				77
			 | 
			
			
				+    glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 
			 | 
		
	
		
			
			| 
				76
			 | 
			
				78
			 | 
			
			
				     shader->bind(); 
			 | 
		
	
		
			
			| 
				77
			 | 
			
				79
			 | 
			
			
				     shader->setParameter( "texture", 0 ); 
			 | 
		
	
		
			
			| 
				78
			 | 
			
				80
			 | 
			
			
				     shader->setAttribute( "position", buffers[0], 2 ); 
			 | 
		
	
	
		
			
			| 
				
			 | 
			
			
				@@ -82,5 +84,6 @@ void slop::Framebuffer::draw(){ 
			 | 
		
	
		
			
			| 
				82
			 | 
			
				84
			 | 
			
			
				     glEnable( GL_TEXTURE_2D ); 
			 | 
		
	
		
			
			| 
				83
			 | 
			
				85
			 | 
			
			
				     glDrawArrays( GL_TRIANGLES, 0, vertCount ); 
			 | 
		
	
		
			
			| 
				84
			 | 
			
				86
			 | 
			
			
				     glDisable( GL_TEXTURE_2D ); 
			 | 
		
	
		
			
			| 
				
			 | 
			
				87
			 | 
			
			
				+    glDisable( GL_BLEND ); 
			 | 
		
	
		
			
			| 
				85
			 | 
			
				88
			 | 
			
			
				     shader->unbind(); 
			 | 
		
	
		
			
			| 
				86
			 | 
			
				89
			 | 
			
			
				 } 
			 |