MiniB3D and wxMax

BlitzMax Modules Forums/MiniB3D/MiniB3D and wxMax

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.