diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2018-11-27 23:00:32 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2018-11-27 23:00:32 +0000 |
commit | a42cfeb2c3e4ab6637744549cf3bce033446b279 (patch) | |
tree | 946a90c1a4bbc2179ffcf626b5914f46b484e180 | |
parent | 1d891fe53504cc127b65193e7d8bae5bac8fa2f7 (diff) | |
parent | 4c3137a9d3fe39d09aed664c0405bb219591cc90 (diff) | |
download | native-a42cfeb2c3e4ab6637744549cf3bce033446b279.tar.gz |
Snap for 5150751 from 4c3137a9d3fe39d09aed664c0405bb219591cc90 to pi-b4s4-release
Change-Id: I205a6f9dcb2992b99497151d9b72c50f1f21d2a3
-rw-r--r-- | services/surfaceflinger/RenderEngine/ProgramCache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/RenderEngine/ProgramCache.cpp b/services/surfaceflinger/RenderEngine/ProgramCache.cpp index 338d27c2e4..9dc6858566 100644 --- a/services/surfaceflinger/RenderEngine/ProgramCache.cpp +++ b/services/surfaceflinger/RenderEngine/ProgramCache.cpp @@ -611,7 +611,7 @@ String8 ProgramCache::generateFragmentShader(const Key& needs) { fs << "void main(void) {" << indent; if (needs.isTexturing()) { - fs << "gl_FragColor = clamp(texture2D(sampler, outTexCoords), 0.0, 1.0);"; + fs << "gl_FragColor = texture2D(sampler, outTexCoords);"; if (needs.isY410BT2020()) { fs << "gl_FragColor.rgb = convertY410BT2020(gl_FragColor.rgb);"; } |