Sign in to follow this  

[DX9] frames per second

Recommended Posts

ArgusMaker    102
Hi :D
How can i increase my fps?
I made a win32 application with dx9 rendering methods.
my WinMain function registers a window class, creates the window and then runs an infinite while loop like this one:

//some render


My application maintains 60 fps.. but i didn't place any limitation, so how can i increase them?

Share this post

Link to post
Share on other sites
gsamour    140
You'll have to turn off V-Sync.

EDIT: here's how...

[color=#1C2837][size=2]D3DPRESENT_PARAMETERS d3dPP;
d3dPP.PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE; [/size][/color]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this