Revision 107
stuff
graphics.c | ||
---|---|---|
125 | 125 |
int (vg_draw_hline)(uint16_t x, uint16_t y, uint16_t len, uint32_t color){ |
126 | 126 |
|
127 | 127 |
//uint8_t color8 = color; |
128 |
uint8_t *p = video_mem; |
|
129 |
p += y*1024+x; |
|
128 |
set_pixel(x,y,color); |
|
129 |
set_pixel(x+1,y,color); |
|
130 |
set_pixel(x+2,y,color); |
|
130 | 131 |
//*(p++) = color8; |
131 | 132 |
//*(p++) = color8; |
132 | 133 |
//*(p++) = color8; |
Also available in: Unified diff