Skip to content

Commit

Permalink
Reset render.OverrideBlend before disabling it (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnejm authored Jan 16, 2024
1 parent e90f6e6 commit a4f756f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/starfall/libs_cl/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ end

function instance:cleanupRender()
render.SetStencilEnable(false)
render.OverrideBlend(true, 0, 0, 0)
render.OverrideBlend(false)
render.OverrideDepthEnable(false, false)
render.SetScissorRect(0, 0, 0, 0, false)
Expand Down

0 comments on commit a4f756f

Please sign in to comment.