Original Post
Hello!
I'm learning DirectX 9 programming, but I've got this problem: I'm simply trying to render 3 lines to represent the 3 axis in the 3D space, but the program I wrote freezes.
I have to open up the Task Manager and close Visual Studio (which during the debug says "Run-Time Check Failure #2 - Stack around the variable 'pVoid' was corrupted")
This is the source code:
Entry point:
http://pastebin.com/BbVdeeNR
AxisRender.cpp:
http://pastebin.com/CNBubgJM
AxisRender.h:
http://pastebin.com/au7j41gw
Thank you in advance for your help!
I'm learning DirectX 9 programming, but I've got this problem: I'm simply trying to render 3 lines to represent the 3 axis in the 3D space, but the program I wrote freezes.
I have to open up the Task Manager and close Visual Studio (which during the debug says "Run-Time Check Failure #2 - Stack around the variable 'pVoid' was corrupted")
This is the source code:
Entry point:
http://pastebin.com/BbVdeeNR
AxisRender.cpp:
http://pastebin.com/CNBubgJM
AxisRender.h:
http://pastebin.com/au7j41gw
Thank you in advance for your help!