Fixed depth test when rendering the picking texture

This commit is contained in:
Enrico Turri 2018-07-18 15:09:26 +02:00
parent c1dc46bb8e
commit 13ced87089

View file

@ -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);