aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/effects
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/effects')
-rw-r--r--src/gpu/effects/GrConvolutionEffect.cpp4
-rw-r--r--src/gpu/effects/GrMorphologyEffect.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/effects/GrConvolutionEffect.cpp b/src/gpu/effects/GrConvolutionEffect.cpp
index 9296ecc93e..14e817fcec 100644
--- a/src/gpu/effects/GrConvolutionEffect.cpp
+++ b/src/gpu/effects/GrConvolutionEffect.cpp
@@ -84,8 +84,8 @@ void GrGLConvolutionEffect::emitFS(GrGLShaderBuilder* state,
const char* inputColor,
const char* samplerName) {
GrStringBuilder* code = &state->fFSCode;
- const char* texFunc = "texture2D";
- bool complexCoord = false;
+ // const char* texFunc = "texture2D";
+ // bool complexCoord = false;
state->fFSCode.appendf("\t\tvec4 sum = vec4(0, 0, 0, 0);\n");
diff --git a/src/gpu/effects/GrMorphologyEffect.cpp b/src/gpu/effects/GrMorphologyEffect.cpp
index 906758d991..991e11b720 100644
--- a/src/gpu/effects/GrMorphologyEffect.cpp
+++ b/src/gpu/effects/GrMorphologyEffect.cpp
@@ -82,8 +82,8 @@ void GrGLMorphologyEffect ::emitFS(GrGLShaderBuilder* state,
const char* inputColor,
const char* samplerName) {
GrStringBuilder* code = &state->fFSCode;
- const char* texFunc = "texture2D";
- bool complexCoord = false;
+ // const char* texFunc = "texture2D";
+ // bool complexCoord = false;
const char* func;
switch (fType) {