Zbuf-selection fix: while drawing vertices, it accepted writing in zbuf
for it too... giving (sometimes) no selection, and possible for linux the solution too!
This commit is contained in:
		@@ -270,9 +270,11 @@ void init_gl_stuff(void)
 | 
			
		||||
	glPixelTransferi(GL_BLUE_BIAS, 0);
 | 
			
		||||
	glPixelTransferi(GL_ALPHA_SCALE, 1);
 | 
			
		||||
	glPixelTransferi(GL_ALPHA_BIAS, 0);
 | 
			
		||||
	
 | 
			
		||||
	glPixelTransferi(GL_DEPTH_BIAS, 0);
 | 
			
		||||
	glPixelTransferi(GL_DEPTH_SCALE, 1);
 | 
			
		||||
 | 
			
		||||
	glDepthRange(0.0, 1.0);
 | 
			
		||||
	
 | 
			
		||||
	a= 0;
 | 
			
		||||
	for(x=0; x<32; x++) {
 | 
			
		||||
		for(y=0; y<4; y++) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user