[core] Enable tile clipping for collision boxes.

Necessary because collision boxes now change shape based on while tile they're part of.
This commit is contained in:
Chris Loer
2017-05-18 14:08:10 -07:00
committed by Ansis Brammanis
parent 7b29b90e7f
commit 2ee59796fb

View File

@@ -145,7 +145,7 @@ void Painter::renderSymbol(PaintParameters& parameters,
context,
gl::Lines { 1.0f },
gl::DepthMode::disabled(),
gl::StencilMode::disabled(),
stencilModeForClipping(tile.clip),
colorModeForRenderPass(),
CollisionBoxProgram::UniformValues {
uniforms::u_matrix::Value{ tile.matrix },