aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar dvonbeck <dvonbeck@google.com>2016-07-21 12:19:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-21 12:19:54 -0700
commit680e2e9a9eea28aa816ecdb88b4af1b4861393a0 (patch)
treec13efed39ed07f92a01afcff0dde192f3ad197de
parent2895eeb11a9f0d9c0018d49dd4bc45f6c6fc062c (diff)
Fixed GM:lightingshader2 size
-rw-r--r--gm/lightingshader2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/gm/lightingshader2.cpp b/gm/lightingshader2.cpp
index c2f4d6caac..9283449e2c 100644
--- a/gm/lightingshader2.cpp
+++ b/gm/lightingshader2.cpp
@@ -38,7 +38,7 @@ protected:
}
SkISize onISize() override {
- return SkISize::Make(kGMSize, kGMSize);
+ return SkISize::Make(600, 740);
}
void onOnceBeforeDraw() override {
@@ -214,7 +214,6 @@ protected:
private:
static const int kTexSize = 96;
- static const int kGMSize = 512;
sk_sp<SkShader> fOpaqueDiffuse;
sk_sp<SkShader> fTranslucentDiffuse;