forked from organicmaps/organicmaps
Merge pull request #5369 from rokuz/fixed-traffic-and-route-depths
Fixed depth test for traffic and route
This commit is contained in:
commit
4920a7cce5
1 changed files with 1 additions and 0 deletions
|
@ -1198,6 +1198,7 @@ void FrontendRenderer::RenderTrafficAndRouteLayer(ScreenBase const & modelView)
|
|||
m_trafficRenderer->RenderTraffic(modelView, m_currentZoomLevel, 1.0f /* opacity */,
|
||||
make_ref(m_gpuProgramManager), m_generalUniforms);
|
||||
}
|
||||
GLFunctions::glClearDepth();
|
||||
m_routeRenderer->RenderRoute(modelView, m_trafficRenderer->HasRenderData(),
|
||||
make_ref(m_gpuProgramManager), m_generalUniforms);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue