1 --- meterbridge-0.9.3/src/linedraw.c.orig 2016-07-25 21:07:06.992953036 -0500
2 +++ meterbridge-0.9.3/src/linedraw.c 2016-07-25 21:07:24.640629427 -0500
4 /* set a pixel on an SDL_Surface, assumes that the surface is 32bit RGBA,
5 * ordered ABGR (I think), probably wont work on bigendian systems */
7 -inline void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col)
8 +void set_rgba(SDL_Surface *surface, Uint32 x, Uint32 y, Uint32 col)
10 Uint32 *bufp = (Uint32 *)surface->pixels + y*surface->pitch/4 + x;