diff options
Diffstat (limited to 'otherlibs/graph/open.c')
-rw-r--r-- | otherlibs/graph/open.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/otherlibs/graph/open.c b/otherlibs/graph/open.c index a81d982ac..db2782ab5 100644 --- a/otherlibs/graph/open.c +++ b/otherlibs/graph/open.c @@ -192,6 +192,7 @@ value gr_open_graph(value arg) gry = 0; /* Reset the color cache */ gr_init_color_cache(); + gr_init_direct_rgb_to_pixel(); return Val_unit; } @@ -257,6 +258,7 @@ value gr_clear_graph(void) XFlush(grdisplay); } gr_init_color_cache(); + gr_init_direct_rgb_to_pixel(); return Val_unit; } |