[core] Add face culling mode parameter to Program::draw
Add a parameter to Program::draw to control whether face culling should be enabled. This will be used in a follow up commit to enable face culling for fill extrusion layers.
This commit is contained in:
committed by
Ander Conselvan de Oliveira
parent
e4e43bb54f
commit
05a7b78aa8
@@ -509,6 +509,7 @@ void Renderer::Impl::render(const UpdateParameters& updateParameters) {
|
||||
gl::StencilMode::Replace
|
||||
},
|
||||
gl::ColorMode::disabled(),
|
||||
gl::CullFaceMode::disabled(),
|
||||
parameters.staticData.quadTriangleIndexBuffer,
|
||||
parameters.staticData.tileTriangleSegments,
|
||||
program.computeAllUniformValues(
|
||||
|
||||
Reference in New Issue
Block a user