summaryrefslogtreecommitdiff
path: root/src/gl_start.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gl_start.cxx')
-rw-r--r--src/gl_start.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gl_start.cxx b/src/gl_start.cxx
index cc8a42fb8..b53eabef0 100644
--- a/src/gl_start.cxx
+++ b/src/gl_start.cxx
@@ -62,6 +62,7 @@ static Fl_Gl_Choice* gl_choice;
Fl_Region XRectangleRegion(int x, int y, int w, int h); // in fl_rect.cxx
+/** Creates an OpenGL context */
void gl_start() {
if (!context) {
#if defined(USE_X11)
@@ -102,6 +103,7 @@ void gl_start() {
}
}
+/** Releases an OpenGL context */
void gl_finish() {
glFlush();
#if !defined(WIN32) && !defined(__APPLE__)