|
|
@@ -90,7 +90,8 @@ void Graphics::fill(const Pixel &color)
|
|
|
|
|
|
void Graphics::put_pixel(uint16_t x, uint16_t y, const Pixel &color)
|
|
|
{
|
|
|
- sf2d_set_pixel(&(target->texture), x + OFFSET_X, y + OFFSET_Y, pixel2u32(color));
|
|
|
+ // Why both of them at +1? If only I knew...
|
|
|
+ sf2d_draw_line(x, y, x+1, y+1, 1, pixel2u32(color));
|
|
|
}
|
|
|
|
|
|
void Graphics::put_horizontal_line(uint16_t x, uint16_t x2, uint16_t y,
|