Floating point arithmatic is going bad. Commenting out code for now. Only an issue on 64bit windows.
initial overloads on opengl functions with enum types to make it easier.