diff options
| author | reed <reed@google.com> | 2015-11-09 13:10:30 -0800 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2015-11-09 13:10:30 -0800 |
| commit | b2ce0b0735e08718bcba01b44519904ad9020f34 (patch) | |
| tree | c5c0f8a52595eb623c72c319ca29181a6b3c7537 /samplecode/SampleApp.cpp | |
| parent | 47fdae9807c559e8b9f6ddff26cd34de03441594 (diff) | |
demo tweaks, scale up perlin, add call to flush for fps
BUG=skia:
TBR=bsalomon
Review URL: https://codereview.chromium.org/1419983006
Diffstat (limited to 'samplecode/SampleApp.cpp')
| -rw-r--r-- | samplecode/SampleApp.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp index df83d4dea5..c71fda5f9d 100644 --- a/samplecode/SampleApp.cpp +++ b/samplecode/SampleApp.cpp @@ -1441,6 +1441,7 @@ void SampleWindow::afterChildren(SkCanvas* orig) { // Do this after presentGL and other finishing, rather than in afterChild if (fMeasureFPS) { + orig->flush(); fTimer.end(); fMeasureFPS_Time += fTimer.fWall; } |
