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
This commit is contained in:
Michael R Sweet 2007-12-15 17:32:39 +00:00
parent f525fc1160
commit 56cafe56c3
2 changed files with 3 additions and 1 deletions

View File

@ -4,6 +4,8 @@ CHANGES IN FLTK 1.1.8
STR #1457, STR #1458, STR #1460, STR #1481, STR #1578, STR #1457, STR #1458, STR #1460, STR #1481, STR #1578,
STR #1639, STR #1645, STR #1644, STR #1792, STR #1793, STR #1639, STR #1645, STR #1644, STR #1792, STR #1793,
STR #1742, STR #1777, STR #1794, STR #1827, STR #1843) STR #1742, STR #1777, STR #1794, STR #1827, STR #1843)
- Fl_Gl_Window::mode() needed to hide and show the window
when toggling stereo mode (STR #1846)
- Fl_Gl_Window::show() did not work reliably on Mac OS X - Fl_Gl_Window::show() did not work reliably on Mac OS X
(STR #1707) (STR #1707)
- Added Fl_Group::clip_children() methods to support - Added Fl_Group::clip_children() methods to support

View File

@ -114,7 +114,7 @@ int Fl_Gl_Window::mode(int m, const int *a) {
if (shown()) { if (shown()) {
g = Fl_Gl_Choice::find(m, a); g = Fl_Gl_Choice::find(m, a);
#if defined(WIN32) #if defined(WIN32)
if (!g || (oldmode^m)&FL_DOUBLE) { if (!g || (oldmode^m)&(FL_DOUBLE|FL_STEREO)) {
hide(); hide();
show(); show();
} }