Configurations give different results
I've been working on a graphics project for a couple of weeks now where I handle transformations, polygon filling, light calculations, z-buffer etc. without using any API or third party libraries.
I've been buiding this project in Visual C++ 6.0 with the Platform SDK from October
When I build my project in the debug config I can't see anything but my ambient lights. If I build my project in the Release config, I can see specular,diffuse and ambient from one of my lights.
However, If I press the GO button while I am in the release configuration I can see every component from every light.
The code in itself does not check for different configurations what so ever. It is also single threaded so there shouldn't be any race conditions wich are altered at different optimisation.
Does anyone have any idea of what might be going on here?