Original Post
Okay, here''s the situation. I''ve got an octree structure. I''ve done extensive tests and I am transversing it correctly (for rendering) and releasing the nodes on shut-down (no memory leaks).
When I have these lines in the render node (just a test):
device->SetStreamSource( 0, g_pVB, sizeof(CUSTOMVERTEX) );
device->SetVertexShader( D3DFVF_CUSTOMVERTEX );
device->DrawPrimitive( D3DPT_TRIANGLELIST, 0, 1 );
It doesn''t catch when I press the escape key(which posts the quite message), but it still renders okay.
Any thoughts??
-Prairie
p.s. I''m using direct input 8 for the keyboard? I''m stumped, because without those above three lines, it all works fine.