Bug fix (from own collection)
After using clip-safe pixeldraw from glutil.c (preview render, bg picture) the current viewport had to be re-set. Not doing so caused a 1 pixel offset for live updates buttons (on mouse over)
This commit is contained in:
		@@ -446,7 +446,8 @@ static void draw_bgpic(void)
 | 
			
		||||
	glBlendFunc(GL_ONE,  GL_ZERO); 
 | 
			
		||||
	glDisable(GL_BLEND);
 | 
			
		||||
	if(G.zbuf) glEnable(GL_DEPTH_TEST);
 | 
			
		||||
	 
 | 
			
		||||
	
 | 
			
		||||
	areawinset(curarea->win);	// restore viewport / scissor
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void timestr(double time, char *str)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user