summaryrefslogtreecommitdiffstats
path: root/otherlibs/graph/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/graph/open.c')
-rw-r--r--otherlibs/graph/open.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/graph/open.c b/otherlibs/graph/open.c
index 7b50bd1e0..22812a6d5 100644
--- a/otherlibs/graph/open.c
+++ b/otherlibs/graph/open.c
@@ -216,6 +216,7 @@ value gr_clear_graph(void)
0, 0, grbstore.w, grbstore.h);
XSetForeground(grdisplay, grbstore.gc, grcolor);
XFlush(grdisplay);
+ gr_init_color_cache();
return Val_unit;
}