diff options
author | Pierre Weis <Pierre.Weis@inria.fr> | 1999-01-27 18:22:04 +0000 |
---|---|---|
committer | Pierre Weis <Pierre.Weis@inria.fr> | 1999-01-27 18:22:04 +0000 |
commit | 91c1787f1b7f84aad50e2e4d0399a2c1b6cd8086 (patch) | |
tree | 16de41fe7987480b391f12c3a40df1e818388b29 /otherlibs/graph | |
parent | 708ea2cfac89a5d24cab4096965b148d15db6a86 (diff) |
Vider le cache de couleur lors de clear_graph
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2255 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/graph')
-rw-r--r-- | otherlibs/graph/open.c | 1 |
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; } |