Fix depth test for rendering object

pull/826/merge
Levin Li 2020-09-29 15:23:40 +08:00
parent 94930934aa
commit 5f2484cf5a
1 changed files with 2 additions and 0 deletions

View File

@ -2984,6 +2984,8 @@ void Renderer::renderObject(const Vector3f& pos,
}
}
disableDepthTest();
disableDepthMask();
enableBlending();
}