summaryrefslogtreecommitdiff
path: root/src/Fl_Graphics_Driver.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-15 15:01:12 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-09-15 15:01:12 +0200
commit699cca8ff4367c15ea0cda1b5750c68eac174816 (patch)
tree9bba71685e9b649c80c5e1acff32597a05008a22 /src/Fl_Graphics_Driver.cxx
parent700fb1aadd86f6fc81f4acccfe44dd539f487c57 (diff)
Make Fl::set_color(r,g,b,a) effective under Wayland and macOS.
Diffstat (limited to 'src/Fl_Graphics_Driver.cxx')
-rw-r--r--src/Fl_Graphics_Driver.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Graphics_Driver.cxx b/src/Fl_Graphics_Driver.cxx
index 159a76b65..3bec7c2fe 100644
--- a/src/Fl_Graphics_Driver.cxx
+++ b/src/Fl_Graphics_Driver.cxx
@@ -45,6 +45,7 @@ Fl_Graphics_Driver::Fl_Graphics_Driver()
{
font_ = 0;
size_ = 0;
+ color_ = FL_BLACK;
sptr=0; rstackptr=0;
rstack[0] = NULL;
fl_clip_state_number=0;