EnableStates is called during Graphics3D(). I don't think it's ment to be called outside minib3d. It tells opengl to enable different features. Some state settings are missing resulting in garbled output in your original example above.
I found out that in your example it's simply called to early for some implementations. (all windows versions? )
It just needs to be called a little later in the application startup sequence.
I found out that in your example it's simply called to early for some implementations. (all windows versions? )
It just needs to be called a little later in the application startup sequence.