aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-15 20:44:36 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-15 20:44:36 +0000
commit56b64a53318183ad528edeb1a26ade188ef63f7d (patch)
treee0b698f80a7537ce479ac163c0aeb097de13c93e
parente2dd973e4b0dac58610b73d577e91899c2b1c4ea (diff)
change tiling to 16 tiles instead of 4
git-svn-id: http://skia.googlecode.com/svn/trunk@5120 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r--samplecode/SampleApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp
index 1dfc75c502..e237ac598f 100644
--- a/samplecode/SampleApp.cpp
+++ b/samplecode/SampleApp.cpp
@@ -1628,8 +1628,8 @@ bool SampleWindow::onEvent(const SkEvent& evt) {
int nx = 1, ny = 1;
switch (fTilingState) {
case SkOSMenu::kOffState: nx = 1; ny = 1; break;
- case SkOSMenu::kMixedState: nx = 1; ny = 4; break;
- case SkOSMenu::kOnState: nx = 2; ny = 2; break;
+ case SkOSMenu::kMixedState: nx = 1; ny = 16; break;
+ case SkOSMenu::kOnState: nx = 4; ny = 4; break;
}
(void)SampleView::SetTileCount(curr_view(this), nx, ny);
this->updateTitle();