I get an "Unhandled Memory Exception" error on calling End.
I've tried freeing all assets, sound channels, tLists etc and it makes no difference at all.
Everything works fine in DX. but under GL, I get the above error here (glgraphics.bmx):
I've tried setting up a basic program to create a graphics object in GL and then ending it, and that seems to work OK, so I guess its something I'm doing somewhere but I don't know what.
Any ideas what can cause this error? I'm at a loss.
I've tried freeing all assets, sound channels, tLists etc and it makes no difference at all.
Everything works fine in DX. but under GL, I get the above error here (glgraphics.bmx):
Method Close() If Not _context Return <b>bbGLGraphicsClose( _context )</b> _context=0 End Method
I've tried setting up a basic program to create a graphics object in GL and then ending it, and that seems to work OK, so I guess its something I'm doing somewhere but I don't know what.
Any ideas what can cause this error? I'm at a loss.