Skip to main content
GameDev.net gamedev.net
🔒 Locked

Very Odd Problem??

Started by Prairie Apr 16, 2002 at 5:12 PM 0 replies 350+ views
Original Post
Prairie
Prairie
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.