I am trying to implement the z-buffer algorithm, however, am running into the following problem
Here is a screenshot. As you can see the colour is fading. Also the base of the shape has faded too.
http://i49.tinypic.com/19qb6w.png
As the program terminates, I get the following error:
Code:
Unhandled exception at 0x76fb4621 in EV_Shell.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one.
Has anyone encountered this problem? The code is very long so I may need to PM if its needed