OSDN Git Service

Modified the implementation for Visual Studio.
[bluetank/bluetank.git] / soft / utils / lcdtool / canvas.c
index 3783eaa..e6ce38a 100644 (file)
@@ -78,7 +78,7 @@ void canvas_pixel_reader(const int x, const int y, uint8_t *r, uint8_t *g, uint8
     *b = buffer->b;
 }
 
-void canvas_drawer(const int px, const int py, bool on, void *extobj)
+void canvas_drawer(const int px, const int py, int on, void *extobj)
 {
     canvas_t *canvas = (canvas_t *)extobj;
     bmpcol_t *buffer = canvas->buffer + (canvas->w * py) + px;