summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2007-12-11 02:48:04 +0000
committerJames Bursa <james@netsurf-browser.org>2007-12-11 02:48:04 +0000
commit9125ffa7d8b61d5b534a8a44bfae7e6dcfe47199 (patch)
treed267b0474549dd1fd40ee2043735b76339f4d65f /riscos
parentb650b2379fc1233535ccff17b67b30b2670a4e0d (diff)
downloadnetsurf-9125ffa7d8b61d5b534a8a44bfae7e6dcfe47199.tar.gz
netsurf-9125ffa7d8b61d5b534a8a44bfae7e6dcfe47199.tar.bz2
Fix warnings and remove some logging.
svn path=/trunk/netsurf/; revision=3664
Diffstat (limited to 'riscos')
-rw-r--r--riscos/plotters.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/riscos/plotters.c b/riscos/plotters.c
index 35314e4e2..36518b77b 100644
--- a/riscos/plotters.c
+++ b/riscos/plotters.c
@@ -245,7 +245,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width,
return false;
}
- LOG(("converting path"));
for (i = 0; i < n; ) {
if (p[i] == PLOTTER_PATH_MOVE) {
path[i] = draw_MOVE_TO;
@@ -277,7 +276,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width,
path[i] = draw_END_PATH;
path[i + 1] = 0;
- LOG(("converting matrix"));
trfm.entries[0][0] = transform[0] * 0x10000;
trfm.entries[0][1] = transform[1] * 0x10000;
trfm.entries[1][0] = transform[2] * 0x10000;
@@ -285,8 +283,6 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width,
trfm.entries[2][0] = (ro_plot_origin_x + transform[4] * 2) * 256;
trfm.entries[2][1] = (ro_plot_origin_y - transform[5] * 2) * 256;
- LOG(("plotting"));
-
if (fill != TRANSPARENT) {
error = xcolourtrans_set_gcol(fill << 8, 0,
os_ACTION_OVERWRITE, 0, 0);
@@ -296,7 +292,7 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width,
return false;
}
- error = xdraw_fill(path, 0, &trfm, 0);
+ error = xdraw_fill((draw_path *) path, 0, &trfm, 0);
if (error) {
LOG(("xdraw_stroke: 0x%x: %s",
error->errnum, error->errmess));
@@ -313,8 +309,8 @@ bool ro_plot_path(float *p, unsigned int n, colour fill, float width,
return false;
}
- error = xdraw_stroke(path, 0, &trfm, 0, width * 2 * 256,
- &line_style, 0);
+ error = xdraw_stroke((draw_path *) path, 0, &trfm, 0,
+ width * 2 * 256, &line_style, 0);
if (error) {
LOG(("xdraw_stroke: 0x%x: %s",
error->errnum, error->errmess));