Correct glPixelTransfer function
This commit is contained in:
parent
15eb83c8b3
commit
103ae04fbc
@ -331,9 +331,9 @@ void gpu_select_pick_begin(
|
||||
glDepthFunc(GL_LEQUAL);
|
||||
}
|
||||
|
||||
glPixelTransferi(GL_DEPTH_BIAS, 0.0);
|
||||
glPixelTransferi(GL_DEPTH_SCALE, 1.0);
|
||||
|
||||
/* set just in case */
|
||||
glPixelTransferf(GL_DEPTH_BIAS, 0.0);
|
||||
glPixelTransferf(GL_DEPTH_SCALE, 1.0);
|
||||
|
||||
float viewport[4];
|
||||
glGetFloatv(GL_SCISSOR_BOX, viewport);
|
||||
|
Loading…
Reference in New Issue
Block a user