Skip to content

Commit

Permalink
feat(2d): opt code
Browse files Browse the repository at this point in the history
  • Loading branch information
singlecoder committed May 24, 2022
1 parent 0a975bf commit 30cb45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/RenderPipeline/BasicRenderPipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export class BasicRenderPipeline {
case RenderQueueType.AlphaTest:
this._alphaTestQueue.pushPrimitive(element);
break;
default:
case RenderQueueType.Opaque:
this._opaqueQueue.pushPrimitive(element);
break;
}
Expand Down

0 comments on commit 30cb45b

Please sign in to comment.