message: FilamentApp: Do not call postRender when skipping.
diff: @@ -393,10 +393,9 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback,
  renderer->render(view->getView());
  }
  renderer->endFrame();
  - } else {
  - ++mSkippedFrames;
  - }
  + // We call PostRender only when the frame has not been skipped. It might be used
  + // for taking screenshots under the assumption that a state change has taken effect.
  if (postRender) {
  for (auto const& view : window->mViews) {
  if (view.get() != window->mUiView) {
  @@ -404,6 +403,10 @@ void FilamentApp::run(const Config& config, SetupCallback setupCallback,
  }
  }
  }
  +
  + } else {
  + ++mSkippedFrames;
  + }
  }
  if (mImGuiHelper) {
  