blob: fa5ce250ca53c2ae87a296895bdef785b10b4ed5 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- src/linedraw.c 2002-10-10 12:06:06.000000000 +0200
+++ src/linedraw.c.fix 2017-12-04 00:36:19.839664181 +0100
@@ -9,6 +9,7 @@
Uint32 *bufp = (Uint32 *)surface->pixels + y*surface->pitch/4 + x;
*bufp = col;
}
+void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col);
/* use Bresenham's alg. to draw a line between two integer coordinates */
|