shader/cutscene: don't initialize distort_strength uniform

Apparently GLSL ES does not allow this. We set this uniform explicitly
in the code, so this is redundant anyway.
This commit is contained in:
Andrei Alexeyev 2021-04-18 16:33:09 +03:00
parent c5bd04128b
commit 5a51842401
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -7,7 +7,7 @@
UNIFORM(1) sampler2D noise_tex;
UNIFORM(2) sampler2D paper_tex;
UNIFORM(3) sampler2D erase_mask_tex;
UNIFORM(4) float distort_strength = 0.01;
UNIFORM(4) float distort_strength;
UNIFORM(5) vec2 thresholds;
float render_fademap(vec2 uv, vec2 distort) {