summaryrefslogtreecommitdiff
path: root/src/c_fl_gl_window.cpp
diff options
context:
space:
mode:
authorJedidiah Barber <contact@jedbarber.id.au>2025-01-12 15:11:40 +1300
committerJedidiah Barber <contact@jedbarber.id.au>2025-01-12 15:11:40 +1300
commite324057cbd9b02704172bb5db4163f4a0c276288 (patch)
tree35afdc681d278049acc62ae61366b6da46122128 /src/c_fl_gl_window.cpp
parentf8b638b57cc1318ef3536efae662b54b3d14a3bb (diff)
Closed a few gaps in the APIs of Window derivatives
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();
}