Revision 189
fixed drawing
graph.c | ||
---|---|---|
280 | 280 |
//printf("%s: invalid pixel.\n", __func__); |
281 | 281 |
return OUT_OF_RANGE; |
282 | 282 |
} |
283 |
//printf("COLOR= %X, ALPHA = %X\n", color, alpha); |
|
284 | 283 |
unsigned int pos = (x + y * vbe_mem_info.XResolution) * graph_get_bytes_pixel(); |
285 | 284 |
uint32_t color_; |
286 | 285 |
memcpy(&color_, video_buf + pos, graph_get_bytes_pixel()); |
Also available in: Unified diff