Original Post
hi.
where should i put the render() function in MFC created application?
i''ve tried to put it on WM_PAINT and do InvalidateRect() every th of second.
but this means i PREdetermined the FramePerSecs which is i not really like.
or should there any extra job to do this?
currently for testing purposes my render() only consist of
m_pd3dDevice->Clear( 0, NULL, D3DCLEAR_TARGET|D3DCLEAR_ZBUFFER,
D3DCOLOR_XRGB(m_R,m_G,m_B), 1.0f, 0 );
m_pd3dDevice->Present( NULL, NULL, NULL, NULL );