summaryrefslogtreecommitdiff
path: root/windows/plot.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-06-30 15:48:07 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-06-30 15:48:07 +0000
commiteddae6af0663243a2677674d501f9a87d55798f5 (patch)
tree08562171f870a6b592d624adfbfd0d6fa11fcdcb /windows/plot.c
parenta5dc6b9e6637c85d18510ac6446ee4a8a7955e7b (diff)
downloadnetsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.gz
netsurf-eddae6af0663243a2677674d501f9a87d55798f5.tar.bz2
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
Diffstat (limited to 'windows/plot.c')
-rw-r--r--windows/plot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/windows/plot.c b/windows/plot.c
index 491b89bcc..2898fae27 100644
--- a/windows/plot.c
+++ b/windows/plot.c
@@ -846,7 +846,7 @@ static bool path(const float *p, unsigned int n, colour fill, float width,
return true;
}
-struct plotter_table plot = {
+const struct plotter_table win_plotters = {
.rectangle = rectangle,
.line = line,
.polygon = polygon,