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.
As the program terminates, I get the following error:
Has anyone encountered this problem? The code is very long so I may need to PM if its needed
Unhandled exception at 0x76fb4621 in EV_Shell.exe: 0xC015000F: The activation context being deactivated is not the most recently activated one.