Restore paint-panel timing.
[dcpomatic.git] / src / wx / gl_video_view.cc
index 39d418cbfc3d2af18baa8b31c99092e6af280e98..39532ab79b90990900b4c619b9b0daf55ab3e6ee 100644 (file)
@@ -69,9 +69,11 @@ static void
 void
 GLVideoView::paint ()
 {
+        _viewer->state_timer().set("paint-panel");
        _canvas->SetCurrent (*_context);
        wxPaintDC dc (_canvas);
        draw ();
+       _viewer->state_timer().unset();
 }
 
 void