Archived

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

Unable to Release() Vertex Buffer in Fullscreen Mode

This topic is 5585 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

Hello all, I''ve created a little shell for future programs, with direct3D initalized and such. It has the ability to ask the user if he/she would like to view the crapiness in fullscreen or windowed mode, and made the appropriate property changes in D3D for both cases. However, when I create a vertex buffer, lock the buffer, copy a few vertex''s over, unlock it, and try to release it at the end, my program crashes. I''ve narrowed it down to that exact line where I release the buffer. If I comment out that line, the program executes just fine. Unfortunatly, there''s more. Before I added this buffer, I stupidly ran the program knowing that not everything was complete yet (d3d stuff was not all finished) and of course, it froze my comp. So I restarted... without saving. When i came back, everything was looking like a library file in ms vc++ 6.0, but in notepad it was fine.. so i copied the stuff over from notepad into vc. I don''t know if this would have anything to do with it, but i figure it can''t hurt my post. Any ideas are greatly appreciated! Thanks in advance! - Fuzztrek ¬_¬

Share this post


Link to post
Share on other sites