diff options
| author | Bill Spitzak <spitzak@gmail.com> | 2000-12-12 08:57:30 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 2000-12-12 08:57:30 +0000 |
| commit | f5375b6ab64edbe5e5b017b053fb1385613ceef9 (patch) | |
| tree | 2d8ba8726b5a04e93cd7c08c3b2651c8ab976c36 /src/Fl_Gl_Window.cxx | |
| parent | 0d0b0662300a6ca9f339ec6bdbdf555dec7f26a8 (diff) | |
Fl_Gl_Window does not set drawbuffer(BACKBUFFER) for single-buffered
windows.
Fl_Input::replace(...) correctly updates the display if the replaced
region does not include the mark, point, or selected region.
Added Fl::add_check(...), Fl::remove_check, and Fl::has_check. These
are similar to idle callbacks but are only called just before it waits
for new events. They can be used to watch for changes in global state
and respond to them.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index f04cb7e7c..d8a64fd8c 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Gl_Window.cxx,v 1.12.2.18 2000/12/06 15:45:13 easysw Exp $" +// "$Id: Fl_Gl_Window.cxx,v 1.12.2.19 2000/12/12 08:57:30 spitzak Exp $" // // OpenGL window code for the Fast Light Tool Kit (FLTK). // @@ -122,7 +122,7 @@ void Fl_Gl_Window::make_current() { RealizePalette(fl_gc); } #endif // USE_COLORMAP - glDrawBuffer(GL_BACK); + if (g->d) glDrawBuffer(GL_BACK); current_ = this; } @@ -337,5 +337,5 @@ void Fl_Gl_Window::draw_overlay() {} #endif // -// End of "$Id: Fl_Gl_Window.cxx,v 1.12.2.18 2000/12/06 15:45:13 easysw Exp $". +// End of "$Id: Fl_Gl_Window.cxx,v 1.12.2.19 2000/12/12 08:57:30 spitzak Exp $". // |
