Drawable Renderer (#1570), Remove layer index from drawables.

Add debug GL groups for uploads.
Enable GL debug groups only in debug builds.
This commit is contained in:
Tim Sylvester
2023-05-30 14:04:18 -07:00
committed by Bart Louwers
parent 8986bce151
commit c10616aec6
9 changed files with 26 additions and 70 deletions

View File

@@ -426,7 +426,6 @@ void RenderCircleLayer::update(gfx::ShaderRegistry& shaders,
circleBuilder->setDepthType((renderPass == RenderPass::Opaque) ? gfx::DepthMaskType::ReadWrite
: gfx::DepthMaskType::ReadOnly);
circleBuilder->setCullFaceMode(gfx::CullFaceMode::disabled());
circleBuilder->setLayerIndex(layerIndex);
circleBuilder->setRenderPass(renderPass);
circleBuilder->setVertexAttributes(circleVertexAttrs);