Skip to content

Commit

Permalink
xrRenderGL: fixed crash when applying postprocess
Browse files Browse the repository at this point in the history
For example, It happens when anomaly activates
  • Loading branch information
Xottab-DUTY committed Nov 12, 2018
1 parent 359ddb8 commit aaacdfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions res/gamedata/shaders/gl/postprocess.s
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ function l_special (shader, t_base, t_second, t_detail)
shader:sampler ("s_base1") :texture("$user$albedo") : clamp() : f_linear ()
shader:sampler ("s_noise") :texture("fx\\fx_noise2") : f_linear ()

shader:sampler ("s_grad1") :texture("grad\\grad_red_yellow") : clamp() : f_linear ()
shader:sampler ("s_grad1") :texture("grad\\grad_test1") : clamp() : f_linear ()
shader:sampler ("s_grad0") :texture("$user$cmap0") : clamp() : f_linear ()
shader:sampler ("s_grad1") :texture("$user$cmap1") : clamp() : f_linear ()
end

0 comments on commit aaacdfa

Please sign in to comment.