aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/texturedomaineffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gm/texturedomaineffect.cpp')
-rw-r--r--gm/texturedomaineffect.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/texturedomaineffect.cpp b/gm/texturedomaineffect.cpp
index efa753183a..beb98b6dd3 100644
--- a/gm/texturedomaineffect.cpp
+++ b/gm/texturedomaineffect.cpp
@@ -132,10 +132,9 @@ protected:
viewMatrix.setTranslate(x, y);
GrDrawState drawState(viewMatrix);
drawState.setRenderTarget(rt);
- drawState.setColor(0xffffffff);
drawState.addColorProcessor(fp);
- tt.target()->drawSimpleRect(&drawState, renderRect);
+ tt.target()->drawSimpleRect(&drawState, GrColor_WHITE, renderRect);
x += renderRect.width() + kTestPad;
}
y += renderRect.height() + kTestPad;