summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_Gl_Window.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index e9b10ca7e..10a9ae30f 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -114,7 +114,7 @@ int Fl_Gl_Window::mode(int m, const int *a) {
if (shown()) {
g = Fl_Gl_Choice::find(m, a);
#if defined(WIN32)
- if (!g || (oldmode^m)&FL_DOUBLE) {
+ if (!g || (oldmode^m)&(FL_DOUBLE|FL_STEREO)) {
hide();
show();
}