Post by Tom Mulgrew on Apr 19, 2016 20:35:23 GMT -5
The window stays open on purpose. So that if you write a simple program like print "Hello world" or glBegin(GL_TRIANGLES) glVertex3f(0, 10, -30) glVertex3f(8, -4, -30) glVertex3f(-8, -4, -30) glEnd() SwapBuffers() you can see the result.
Otherwise you would have put something like "while inkey$()="":wend" at the end which is not very beginner friendly.
If you create a standalone exe, you have the option to have the window close as soon as the program finishes.