GLUTLEAVEMAINLOOP(3)
β¨ GLUTLEAVEMAINLOOP(3) β¨ β OpenGLUT mainloop, but make it group-chat
okay bestie, welcome to the OpenGLUT mainloop page. this is literally the escape hatch. no cap. π
π NAME π
glutLeaveMainLoop β Breaks out of OpenGLUT's glutMainLoop(). periodt. π
π¦ LIBRARY π¦
OpenGLUT - mainloop. the mainloop corner of OpenGLUT, iykyk. π«Ά
β¨ SYNOPSIS β¨
okay so you pull it in like this:
#include <openglut.h>
void
glutLeaveMainLoop(void);
πΈ DESCRIPTION πΈ
This function lets you unilaterally tell OpenGLUT that you are done and wish to exit. like, you're the main character here, bestie. π
It's useful if you have also told OpenGLUT to return to you rather than to call exit() directly. so instead of OpenGLUT yeeting the whole process, it can come back to you. iconic. β¨
π TODO π
Could use longjmp(); see oghTakeActionOnWindowClose(). This would let us terminate the entire loop immediately.
not me writing a TODO that says "yeah we could just longjmp() this whole thing" π it's giving "we know, we know".
π SEE ALSO π
π mwah, that's the whole page! this one is stamped UNDATED and its source/version tag is UNTITLED(). slay, bye! π
π¦ where this page comes from
- centos-stream 10: freeglut-devel 3.4.0-9.el10 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- centos-stream 9: freeglut-devel 3.2.1-10.el9 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.6.0-6.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 43: freeglut-devel 3.8.0-1.fc43 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- fedora 44: freeglut-devel 3.8.0-2.fc44 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- opensuse-leap 16.0: freeglut-devel 3.2.2-160000.2.2 Β· MIT
- Copyright 2004, the OpenGLUT contributors
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms