Skip to content

Commit aaacdfa

Browse files
committed
xrRenderGL: fixed crash when applying postprocess
For example, It happens when anomaly activates
1 parent 359ddb8 commit aaacdfa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

res/gamedata/shaders/gl/postprocess.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ function l_special (shader, t_base, t_second, t_detail)
1919
shader:sampler ("s_base1") :texture("$user$albedo") : clamp() : f_linear ()
2020
shader:sampler ("s_noise") :texture("fx\\fx_noise2") : f_linear ()
2121

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

0 commit comments

Comments
 (0)