glmax2D wxGLCanvas sample not working

BlitzMax Forums/Brucey's Modules/glmax2D wxGLCanvas sample not working

AlexO(Posted 2011) [#1]
Hi,
I'm currently working on trying to get a GL canvas in wxMax working. It worked fine compiling and running in windows (on a VM), but since I'm on OS X the majority of the time I figured I could just compile and run the app natively.

using glmax2d.bmx as a test case I would compile it as such from the terminal:
bmk makeapp -d -t gui -r -b bah.appstub glmax2d.bmx 


and then run the app, but I get an error with SetGraphics() at runtime inside MyCanvas's Render() method.

Any ideas as to whether wxGLCanvas works on Mac or am I stuck on windows for it?

Last edited 2011