diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-12-15 17:32:39 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2007-12-15 17:32:39 +0000 |
| commit | 56cafe56c361014797cd6b6788a6fd2a05274768 (patch) | |
| tree | 7186cbc0ccd453ebd26b7b63f8fdba21fd75c74b /src | |
| parent | f525fc1160ddbce3660fe986dca07d7bb188d02a (diff) | |
Fl_Gl_Window::mode() needed to hide and show the window when toggling stereo
mode (STR #1846)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5998 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 2 |
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(); } |
