quote:Original post by SlimTimmy
When wouldn''t you use the D3DGETDATA_FLUSH-parameter?
I did a test and just passed 0 as the last parameter of the GetData-method, the condition in the while-loop (see above) never evaluated to true! Is this a normal behaviour?
My understanding is that if you don''t specify the FLUSH flag, don''t loop. When you don''t specify the flag, you''re expected to check after doing some more graphical operations (i.e. the next frame or whatever, obviously that doesn''t work when you need the query results for the next frame, but that''s only one scenario).
Muhammad Haggag