summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_win32.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index c2549a144..d06c5c4f8 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -584,7 +584,7 @@ public:
fl_free_fonts(); // do some Windows cleanup
fl_cleanup_pens();
OleUninitialize();
- fl_brush_action(1);
+ if (fl_graphics_driver) fl_brush_action(1);
fl_cleanup_dc_list();
// This is actually too late in the cleanup process to remove the
// clipboard notifications, but we have no earlier hook so we try