mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-23 06:38:43 +00:00
parent
868a085262
commit
5752e75ff9
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ void WgCompositor::renderClipPath(WgContext& context, WgRenderDataPaint* paint)
|
|||
wgpuRenderPassEncoderSetPipeline(renderPassEncoder, pipelines.copy_stencil_to_depth);
|
||||
renderData0->meshDataBBox.drawFan(context, renderPassEncoder);
|
||||
// merge clip pathes with AND logic
|
||||
for (auto p = paint->clips.begin() + 1; paint->clips.end(); ++p) {
|
||||
for (auto p = paint->clips.begin() + 1; p < paint->clips.end(); ++p) {
|
||||
// get render data
|
||||
WgRenderDataShape* renderData = (WgRenderDataShape*)(*p);
|
||||
// markup stencil
|
||||
|
|
Loading…
Add table
Reference in a new issue