summaryrefslogtreecommitdiff
path: root/framebuffer/fb_8bpp_plotters.c
diff options
context:
space:
mode:
Diffstat (limited to 'framebuffer/fb_8bpp_plotters.c')
-rw-r--r--framebuffer/fb_8bpp_plotters.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/framebuffer/fb_8bpp_plotters.c b/framebuffer/fb_8bpp_plotters.c
index 9f0498db2..15804a9ed 100644
--- a/framebuffer/fb_8bpp_plotters.c
+++ b/framebuffer/fb_8bpp_plotters.c
@@ -55,7 +55,7 @@ static bool fb_8bpp_line(int x0, int y0, int x1, int y1, int width,
return true;
}
-static bool fb_8bpp_polygon(int *p, unsigned int n, colour fill)
+static bool fb_8bpp_polygon(const int *p, unsigned int n, colour fill)
{
/*LOG(("%p, %d, 0x%lx", p,n,fill));*/
return fb_plotters_polygon(p, n, fill, fb_8bpp_line);
@@ -266,8 +266,8 @@ static bool fb_8bpp_flush(void)
return true;
}
-static bool fb_8bpp_path(float *p, unsigned int n, colour fill, float width,
- colour c, float *transform)
+static bool fb_8bpp_path(const float *p, unsigned int n, colour fill, float width,
+ colour c, const float transform[6])
{
LOG(("%s(%f, %d, 0x%lx, %f, 0x%lx, %f)\n", __func__,
*p, n, fill, width, c, *transform));