summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_font_compress.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/common/evas_font_compress.c')
-rw-r--r--src/lib/evas/common/evas_font_compress.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/evas/common/evas_font_compress.c b/src/lib/evas/common/evas_font_compress.c
index 1b8d63114b..f84824d11b 100644
--- a/src/lib/evas/common/evas_font_compress.c
+++ b/src/lib/evas/common/evas_font_compress.c
@@ -475,7 +475,6 @@ evas_common_font_glyph_draw(RGBA_Font_Glyph *fg,
475 DATA32 *dst = dst_image->image.data; 475 DATA32 *dst = dst_image->image.data;
476 DATA32 coltab[16], col; 476 DATA32 coltab[16], col;
477 DATA16 mtab[16], v; 477 DATA16 mtab[16], v;
478 DATA8 tmp;
479 478
480 w = fgo->bitmap.width; h = fgo->bitmap.rows; 479 w = fgo->bitmap.width; h = fgo->bitmap.rows;
481 // skip if totally clipped out 480 // skip if totally clipped out
@@ -520,8 +519,7 @@ evas_common_font_glyph_draw(RGBA_Font_Glyph *fg,
520 { 519 {
521 v = (i << 4) | i; 520 v = (i << 4) | i;
522 coltab[i] = MUL_SYM(v, col); 521 coltab[i] = MUL_SYM(v, col);
523 tmp = (coltab[i] >> 24); 522 mtab[i] = 256 - (coltab[i] >> 24);
524 mtab[i] = 256 - (tmp + (tmp >> 7));
525 } 523 }
526#ifdef BUILD_MMX 524#ifdef BUILD_MMX
527 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX)) 525 if (evas_common_cpu_has_feature(CPU_FEATURE_MMX))