upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / meterbridge / repos / community-x86_64 / meterbridge-0.9.3-setrgba.patch
blob52f00b3a6c5ab32fe2f67ae21726fe5628f7c48e
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
3 @@ -4,7 +4,7 @@
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;
11 *bufp = col;