X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fdrawtext%2Fdrawrast.c;h=f54c25dd3c5301bafe95d298cf954a97a66c15d2;hb=7ef52b31864696747396945b2ca8892d8796f96c;hp=66543a5a9f028c2a2b5b613f5f93b0d84f89414c;hpb=7fccf8b3543c8cdb993252f0cf9a6b9ed826408e;p=retroray
diff --git a/libs/drawtext/drawrast.c b/libs/drawtext/drawrast.c
index 66543a5..f54c25d 100644
--- a/libs/drawtext/drawrast.c
+++ b/libs/drawtext/drawrast.c
@@ -19,7 +19,7 @@ along with this program. If not, see .
#include
#include
#include "drawtext.h"
-#include "drawtext_impl.h"
+#include "dtximpl.h"
static const char *drawchar(const char *str, float *xpos, float *ypos, int *should_flush);
static void flush(void);
@@ -119,9 +119,9 @@ static void blit_thres(unsigned char *dest, unsigned char *src, int xsz, int ysz
for(j=0; j threshold) {
- *dest++ = col[0];
- *dest++ = col[1];
*dest++ = col[2];
+ *dest++ = col[1];
+ *dest++ = col[0];
*dest++ = col[3];
} else {
dest += 4;