Unable to Release() Vertex Buffer in Fullscreen Mode
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
¬_¬
You''re not trying to release it AFTER you release your device are you?
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
Neil
WHATCHA GONNA DO WHEN THE LARGEST ARMS IN THE WORLD RUN WILD ON YOU?!?!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement