diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-11-26 21:44:00 +0100 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-11-26 21:44:00 +0100 |
| commit | f3348e81204a4758b0c7dc231607196b790128f1 (patch) | |
| tree | 221e00512d2e7fadbcb563849e02318fb1715743 /src/Fl_Gl_Window_Driver.H | |
| parent | 6817e821af9d69363466025f17ee367cfaa4550e (diff) | |
Adds GL swap control for X11
Diffstat (limited to 'src/Fl_Gl_Window_Driver.H')
| -rw-r--r-- | src/Fl_Gl_Window_Driver.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window_Driver.H b/src/Fl_Gl_Window_Driver.H index 79f696905..ee3332545 100644 --- a/src/Fl_Gl_Window_Driver.H +++ b/src/Fl_Gl_Window_Driver.H @@ -70,7 +70,7 @@ public: virtual void resize(int /*is_a_resize*/, int /*w*/, int /*h*/) {} virtual char swap_type(); virtual void swap_interval(int) { } - virtual int swap_interval() { return -1; } + virtual int swap_interval() const { return -1; } virtual int flush_begin(char&) {return 0;} virtual void gl_hide_before(void *&) {} // the default implementation may be enough static Fl_Gl_Choice *find_begin(int m, const int *alistp); |
