Skip to content

Commit

Permalink
Fix Clang Format
Browse files Browse the repository at this point in the history
  • Loading branch information
darksylinc committed Apr 12, 2024
1 parent ed11169 commit abc6fdf
Showing 1 changed file with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -198,19 +198,19 @@ void android_main( struct android_app *app )
Demo::AndroidSystems::setAndroidApp( app );
Demo::AndroidSystems::setJniProvider( &g_demoJniProvider );

// !!! IMPORTANT !!!
//
// Swappy defaults to AutoVSyncInterval_AutoPipeline.
// But we change it to PipelineForcedOn because it's the behavior most users coming from PC
// expect (AutoVSyncInterval_AutoPipeline can be counter-intuitive because it can lock the
// pacing to lower framerates)
//
// What actual setting you wish to use (or expose to user) depends on how much love,
// testing & optimization you put into your Android app.
//
// !!! IMPORTANT !!!
Ogre::VulkanAndroidWindow::setFramePacingSwappyAutoMode(
Ogre::VulkanAndroidWindow::PipelineForcedOn );
// !!! IMPORTANT !!!
//
// Swappy defaults to AutoVSyncInterval_AutoPipeline.
// But we change it to PipelineForcedOn because it's the behavior most users coming from PC
// expect (AutoVSyncInterval_AutoPipeline can be counter-intuitive because it can lock the
// pacing to lower framerates)
//
// What actual setting you wish to use (or expose to user) depends on how much love,
// testing & optimization you put into your Android app.
//
// !!! IMPORTANT !!!
Ogre::VulkanAndroidWindow::setFramePacingSwappyAutoMode(
Ogre::VulkanAndroidWindow::PipelineForcedOn );

// Used to poll the events in the main loop
int events;
Expand Down

0 comments on commit abc6fdf

Please sign in to comment.