summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-09 14:36:32 +0100
committerGitHub <noreply@github.com>2018-01-09 14:36:32 +0100
commit3c0dd37744cb0d84d5bbbb4c50263951f888cae3 (patch)
tree0361dc565d1e8b73f51fca4e8c6d344aca550aef
parent4b414f45c47d699da4442ac2347c3b1684616cc0 (diff)
parent1c806abdaade09c49847f4f5702bcacfbff4ff97 (diff)
Merge pull request #15518 from volzhs/shader-compile-error-android
Fix shader compile error on Android
-rw-r--r--drivers/gles3/shaders/effect_blur.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/effect_blur.glsl b/drivers/gles3/shaders/effect_blur.glsl
index b5f98a1244..c8567b4d53 100644
--- a/drivers/gles3/shaders/effect_blur.glsl
+++ b/drivers/gles3/shaders/effect_blur.glsl
@@ -214,7 +214,7 @@ void main() {
vec4 color_accum = vec4(0.0);
- float max_accum=0;
+ float max_accum=0.0;
for(int i=0;i<dof_kernel_size;i++) {