Fixed depth test when rendering the picking texture
This commit is contained in:
parent
c1dc46bb8e
commit
13ced87089
1 changed files with 1 additions and 0 deletions
|
@ -3446,6 +3446,7 @@ void GLCanvas3D::_picking_pass() const
|
|||
::glDisable(GL_MULTISAMPLE);
|
||||
|
||||
::glDisable(GL_BLEND);
|
||||
::glEnable(GL_DEPTH_TEST);
|
||||
|
||||
::glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
||||
|
||||
|
|
Loading…
Reference in a new issue