MiniB3D and wxMax

BlitzMax Modules Forums/MiniB3D/MiniB3D and wxMax

I have fixed the example posted by Brucey by sticking a TGLobal.EnableStates() in the draw method.
It now works on my intel macbook running Windows XP.

This is overkill because it seems EnableStates() only needs to be called once.
I'm not sure where to put it so that it happens once, after init(), but before render()

The modified render method looks like this:

	Method Render()
		SetGraphics CanvasGraphics2D( Self )
		TGlobal.EnableStates()
		Draw()
		Flip
	End Method