end opengl program on Linux

BlitzMax Forums/OpenGL Module/end opengl program on Linux

slenkar(Posted 2009) [#1]
When I use Opengl in linux it exits to the IDE VERY SLOWLY when the program ends.

When I use max2dgl it doesnt exit slowly.

So, what has to be done when an opengl program ends?

On windows there are commands like wgldeletecontext,
dont know what the linux version is.

When the IDE is functioning again it display 'unable to allocate texture' about a hundred times in the IDE output pane.

EDIT

hmm seems like its because im binding a null texture


jkrankie(Posted 2009) [#2]
make sure you use endgraphics