Original Post
I'm having a weired problem, it's related to Direct3dDevice9::Present(...).
the app's frame rate is changed slightly while moving mouse, but it's drawing the same objects and have the same render states changes,
i have profiling my app, i found that the frame rate is dropped only because the Present(...) functions takes more time,so why this happened, is there something else except render states that influence the performance?
This only occurred when drawing alpha blend objects.
Thanks in advance.
the app's frame rate is changed slightly while moving mouse, but it's drawing the same objects and have the same render states changes,
i have profiling my app, i found that the frame rate is dropped only because the Present(...) functions takes more time,so why this happened, is there something else except render states that influence the performance?
This only occurred when drawing alpha blend objects.
Thanks in advance.