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