Is there a way to alter the chili framework to run at max framerate possible?

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
Kshitijthegreat
Posts: 3
Joined: August 23rd, 2021, 5:02 pm

Is there a way to alter the chili framework to run at max framerate possible?

Post by Kshitijthegreat » September 30th, 2021, 6:36 am

So, as every gamer wants to, I am trying to make the chili Framework run at max possible Framerate instead of locking to my monitor refresh rate. I haven't figured it out yet, any Ideas?

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Is there a way to alter the chili framework to run at max framerate possible?

Post by albinopapa » October 29th, 2021, 12:02 am

Look in Graphics::EndFrame(). You'll find something like pSwapChain->Presetn( 1u, 0u );
Change it from 1u, 0u to 0u, 0u. This will avoid v-sync.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply