summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 243401c65..1945ac886 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_win32.cxx,v 1.15 1998/11/08 16:37:20 mike Exp $"
+// "$Id: Fl_win32.cxx,v 1.16 1998/11/08 16:47:44 mike Exp $"
//
// WIN32-specific code for the Fast Light Tool Kit (FLTK).
//
@@ -755,7 +755,7 @@ void Fl_Window::make_current() {
// for all drawing calls, so we must select it here before any
// code does any drawing...
- fl_select_palette();
+ fl_select_palette(type() == FL_GL_WINDOW);
#endif // USE_COLORMAP
current_ = this;
@@ -816,5 +816,5 @@ void Fl_Window::flush() {
}
//
-// End of "$Id: Fl_win32.cxx,v 1.15 1998/11/08 16:37:20 mike Exp $".
+// End of "$Id: Fl_win32.cxx,v 1.16 1998/11/08 16:47:44 mike Exp $".
//