Chromium Code Reviews| Index: samplecode/SampleApp.cpp |
| diff --git a/samplecode/SampleApp.cpp b/samplecode/SampleApp.cpp |
| index df83d4dea5dcfd443fd22e251ff52586e5143ebc..c71fda5f9d991a578fcda314dacade1066635861 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; |
| } |