diff options
author | mtklein <mtklein@chromium.org> | 2015-01-22 07:59:52 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-01-22 07:59:52 -0800 |
commit | 50282b4390dcddcf3b1d51631c0133045ae1f233 (patch) | |
tree | 52d10223b3a9c75eb8692c6707e0500721535251 /src/gpu | |
parent | 44af7ba4bc571110f02f31dd71a8fd4dc7e6bfd2 (diff) |
fLuminance is unsed unless SK_GAMMA_APPLY_TO_A8 is defined
BUG=skia:
Review URL: https://codereview.chromium.org/865103002
Diffstat (limited to 'src/gpu')
-rwxr-xr-x | src/gpu/effects/GrDistanceFieldTextureEffect.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp index f65492e9f0..28220a72ec 100755 --- a/src/gpu/effects/GrDistanceFieldTextureEffect.cpp +++ b/src/gpu/effects/GrDistanceFieldTextureEffect.cpp @@ -185,7 +185,9 @@ private: UniformHandle fTextureSizeUni; SkISize fTextureSize; UniformHandle fLuminanceUni; +#ifdef SK_GAMMA_APPLY_TO_A8 float fLuminance; +#endif typedef GrGLGeometryProcessor INHERITED; }; |