when I modify the Render-section of Clootie-Sample03 (rotating triangle) the framerate is extremely low:

if (SUCCEEDED(g_pd3dDevice.BeginScene)) then
begin
// Setup the world, view, and projection matrices
SetupMatrices;

// Render the vertex buffer contents
g_pd3dDevice.SetStreamSource(0, g_pVB, 0, SizeOf(TCustomVertex));
g_pd3dDevice.SetFVF(D3DFVF_CUSTOMVERTEX);



for a:=0 to 5000 do
begin


g_pd3dDevice.DrawPrimitive(D3DPT_TRIANGLESTRIP, 0, 1 );

end;


// End the scene
g_pd3dDevice.EndScene;
end;


Drawing 5000 triangles should be an easy job even for my Geforce2, shouldn't it? Do these samples not use the fastest way of rendering the scene?

Carsten