projects
/
retroray
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
font rendering and redraw fixes
[retroray]
/
libs
/
drawtext
/
drawrast.c
diff --git
a/libs/drawtext/drawrast.c
b/libs/drawtext/drawrast.c
index
99106c8
..
f54c25d
100644
(file)
--- a/
libs/drawtext/drawrast.c
+++ b/
libs/drawtext/drawrast.c
@@
-119,9
+119,9
@@
static void blit_thres(unsigned char *dest, unsigned char *src, int xsz, int ysz
for(j=0; j<xsz; j++) {
int val = src[j];
if(val > threshold) {
- *dest++ = col[0];
- *dest++ = col[1];
*dest++ = col[2];
+ *dest++ = col[1];
+ *dest++ = col[0];
*dest++ = col[3];
} else {
dest += 4;