diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-16 00:01:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-16 00:01:53 +0100 |
commit | 14b230f35f6b2498ef1fe93d8947bcc6f54b9261 (patch) | |
tree | 4a348b32a0f8fd9a1c30202f0dcce24972deca20 | |
parent | 03475ba197a75b0f8431277954df1fdb0dc14913 (diff) | |
parent | cbc194dde6b750b3b1e4c16d8fe62555ed3549ca (diff) |
Merge pull request #15760 from eska014/es3-copy-shader
Fix copy shader in GLSL ES 3.0
-rw-r--r-- | drivers/gles3/shaders/copy.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gles3/shaders/copy.glsl b/drivers/gles3/shaders/copy.glsl index 743fe122d1..44eec9525b 100644 --- a/drivers/gles3/shaders/copy.glsl +++ b/drivers/gles3/shaders/copy.glsl @@ -161,7 +161,7 @@ void main() { #ifdef SRGB_TO_LINEAR - color.rgb = mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1 + 0.055)),vec3(2.4)),color.rgb * (1.0 / 12.92),lessThan(color.rgb,vec3(0.04045))); + color.rgb = mix(pow((color.rgb + vec3(0.055)) * (1.0 / (1.0 + 0.055)),vec3(2.4)),color.rgb * (1.0 / 12.92),lessThan(color.rgb,vec3(0.04045))); #endif #ifdef DEBUG_GRADIENT |