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:
2004-09-25 15:15:26 +00:00
parent dfef53a632
commit dfd583116a
3 changed files with 7 additions and 2 deletions

View File

@@ -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++) {