summaryrefslogtreecommitdiff
path: root/riscos/plotters.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
commit1165edf662baa3286ff76df54f2db6819340d0a3 (patch)
treeef3c9d96bfe66869e7c06fa06e1388fd7c3dd8ee /riscos/plotters.c
parenta3e205bbd9cff0a189b3a5a03c676ace9c5ee8dd (diff)
downloadnetsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.gz
netsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.bz2
remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
Diffstat (limited to 'riscos/plotters.c')
-rw-r--r--riscos/plotters.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/riscos/plotters.c b/riscos/plotters.c
index 63a44bf26..8ff46ad0a 100644
--- a/riscos/plotters.c
+++ b/riscos/plotters.c
@@ -34,7 +34,6 @@
#include "utils/log.h"
-static bool ro_plot_clg(colour c);
static bool ro_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed);
static bool ro_plot_line(int x0, int y0, int x1, int y1, int width,
@@ -60,7 +59,6 @@ static bool ro_plot_bitmap(int x, int y, int width, int height,
struct plotter_table plot;
const struct plotter_table ro_plotters = {
- .clg = ro_plot_clg,
.rectangle = ro_plot_rectangle,
.line = ro_plot_line,
.polygon = ro_plot_polygon,
@@ -82,24 +80,6 @@ float ro_plot_scale = 1.0;
bool ro_plot_patterned_lines = true;
-bool ro_plot_clg(colour c)
-{
- os_error *error;
- error = xcolourtrans_set_gcol(c << 8,
- colourtrans_SET_BG_GCOL | colourtrans_USE_ECFS_GCOL,
- os_ACTION_OVERWRITE, 0, 0);
- if (error) {
- LOG(("xcolourtrans_set_gcol: 0x%x: %s",
- error->errnum, error->errmess));
- return false;
- }
- error = xos_clg();
- if (error) {
- LOG(("xos_clg: 0x%x: %s", error->errnum, error->errmess));
- return false;
- }
- return true;
-}
bool ro_plot_rectangle(int x0, int y0, int width, int height,