summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-03-29 20:15:45 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-03-29 20:15:45 +0000
commit02b57c267d23c5d01e0ca5e7965ffc1194034e17 (patch)
tree71cb4bb715998c54c4eb7d376321c0102bd6a170
parent9abe5e0b89235c5a2a8e0f2a0a3557b1e7dd6adc (diff)
downloadlibnsfb-02b57c267d23c5d01e0ca5e7965ffc1194034e17.tar.gz
libnsfb-02b57c267d23c5d01e0ca5e7965ffc1194034e17.tar.bz2
Fix 8bpp glyph rendering when the target framebuffer is 16bpp
svn path=/trunk/libnsfb/; revision=12145
-rw-r--r--src/plot/common.c2
1 files changed, 1 insertions, 1 deletions
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 */