From 02b57c267d23c5d01e0ca5e7965ffc1194034e17 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 29 Mar 2011 20:15:45 +0000 Subject: Fix 8bpp glyph rendering when the target framebuffer is 16bpp svn path=/trunk/libnsfb/; revision=12145 --- src/plot/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plot') diff --git a/src/plot/common.c b/src/plot/common.c index 1fa23d8..5675ad6 100644 --- a/src/plot/common.c +++ b/src/plot/common.c @@ -193,7 +193,7 @@ glyph8(nsfb_t *nsfb, nsfb_colour_t c) { PLOT_TYPE *pvideo; - PLOT_TYPE fgcol; + nsfb_colour_t fgcol; nsfb_colour_t abpixel; /* alphablended pixel */ int xloop, yloop; int xoff, yoff; /* x and y offset into image */ -- cgit v1.2.3