I've been writing my own graphics engine for quite some time now, and have reached th epoint where adding a lot of objects causes the framerate to drop to an unacceptable level when using executables compiled in Debug mode. Switching to the Release mode has given me a 10fold performance increase, but has caused strange run time errors that I can't account for. For instance, some objects won't render, some calculations are off, etc. Does anyone know of any common compiler options that can be set to alleviate some of these problems?



