summaryrefslogtreecommitdiff
path: root/src/c_fl_gl_window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_fl_gl_window.cpp')
-rw-r--r--src/c_fl_gl_window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/c_fl_gl_window.cpp b/src/c_fl_gl_window.cpp
index 70ba7e3..ac2d7a5 100644
--- a/src/c_fl_gl_window.cpp
+++ b/src/c_fl_gl_window.cpp
@@ -150,6 +150,10 @@ void fl_gl_window_set_valid(GLWINDOW w, char v) {
reinterpret_cast<Fl_Gl_Window*>(w)->valid(v);
}
+void fl_gl_window_invalidate(GLWINDOW w) {
+ reinterpret_cast<Fl_Gl_Window*>(w)->invalidate();
+}
+
void fl_gl_window_make_current(GLWINDOW w) {
reinterpret_cast<Fl_Gl_Window*>(w)->make_current();
}