• Advertisement


This topic is now archived and is closed to further replies.

Problem with index buffering..

This topic is 5805 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Ok i used D3DFMT_INDEX16 format for my index buffer and i declared it as WORD * and everything worked just fine. now i change it to D3DFMT_INDEX32 and i changed WORD* to DWORD* and allocated memory appropriately. it stopped working ! i dont know why.. please someone enlighten me on this stuff... if we give the option D3DFMT_INDEX32 when creating index buffer, dx, should read 32 bits for each index, and thatz y i declared DWORD instead of WORD. now y isnt my program working. i have the code at http://www.gamedev.net/community/forums/topic.asp?topic_id=97431. thanks in advance Slow and steady wins the race.

Share this post

Link to post
Share on other sites

  • Advertisement