Hi david, you're completely right. (This should be on line 771 by the way, not 711 as in the bug report)
if (do_sync == false) { presentation_params->SwapEffect = D3DSWAPEFFECT_FLIP; presentation_params->PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE; } presentation_params->SwapEffect = D3DSWAPEFFECT_DISCARD;
there should an else or the order of the two swapped in my earlier proposal. I think I was blinded by the redundant if statement in the earlier block and wasn't thinking clearly.
Unfortunately, when i was testing, the line
presentation_params->PresentationInterval = D3DPRESENT_INTERVAL_IMMEDIATE;
had the most effect and masked out my carelesness. Thanks for catching it!
Hi david, you're completely right. (This should be on line 771 by the way,
not 711 as in the bug report)
if (do_sync == false) {
presentation_ params- >SwapEffect = D3DSWAPEFFECT_FLIP;
presentation_ params- >PresentationIn terval = INTERVAL_ IMMEDIATE; ion_params- >SwapEffect = D3DSWAPEFFECT_ DISCARD;
D3DPRESENT_
}
presentat
there should an else or the order of the two swapped in my earlier proposal.
I think I was blinded by the redundant if
statement in the earlier block and wasn't thinking clearly.
Unfortunately, when i was testing, the line
presentation_ params- >PresentationIn terval = D3DPRESENT_ INTERVAL_ IMMEDIATE;
had the most effect and masked out my carelesness. Thanks for catching it!