diff options
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; } |