Fl_PostScript_Graphics_Driver::color() : fl_color_ global var should be set for fl_color() call to be correct.
Fixes STR 2401 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7683 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
814f65db73
commit
5a1db672e1
@ -921,6 +921,7 @@ void Fl_PostScript_Graphics_Driver::color(Fl_Color c) {
|
||||
}
|
||||
|
||||
void Fl_PostScript_Graphics_Driver::color(unsigned char r, unsigned char g, unsigned char b) {
|
||||
fl_color_ = fl_rgb_color(r, g, b);
|
||||
cr_ = r; cg_ = g; cb_ = b;
|
||||
if (r == g && g == b) {
|
||||
double gray = r/255.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user