rayzor

view src/lines.h @ 11:fe94d9e986ae

optimized 16bpp swap_buffers
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 10 Apr 2014 08:42:33 +0300
parents
children
line source
1 #ifndef LINES_H_
2 #define LINES_H_
4 #include "inttypes.h"
6 int clip_line2d(int *x0, int *y0, int *x1, int *y1, const int *vp);
7 void draw_line(uint32_t *fb, int fbwidth, uint32_t col, int x0, int y0, int x1, int y1);
9 #endif /* LINES_H_ */