Skip to content

Commit

Permalink
[Port] [2023.2] [UUM-67306] Fix macOS flickering for 2D Renderer
Browse files Browse the repository at this point in the history
Fix flickering for 2D Renderer on macOS silicon
  • Loading branch information
svc-reach-platform-support authored and Evergreen committed Mar 22, 2024
1 parent fee8732 commit 7a95af4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ internal static void RenderNormals(this IRenderPass2D pass, ScriptableRenderCont
var msaaEnabled = renderingData.cameraData.cameraTargetDescriptor.msaaSamples > 1;
var storeAction = msaaEnabled ? RenderBufferStoreAction.Resolve : RenderBufferStoreAction.Store;
var clearFlag = pass.rendererData.useDepthStencilBuffer ? ClearFlag.All : ClearFlag.Color;
clearFlag = bFirstClear ? clearFlag : ClearFlag.None;
clearFlag = bFirstClear ? clearFlag : ClearFlag.Color;
bFirstClear = false;

if (depthTarget != null)
Expand Down

0 comments on commit 7a95af4

Please sign in to comment.