projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.denx.de/u-boot-usb
[oweals/u-boot.git]
/
drivers
/
video
/
stb_truetype.h
diff --git
a/drivers/video/stb_truetype.h
b/drivers/video/stb_truetype.h
index 26e483cf566ac8a20898e52ebc25e972f480d178..5d00bff9fd02be58391ef7deec706fbb1fcc1dbb 100644
(file)
--- a/
drivers/video/stb_truetype.h
+++ b/
drivers/video/stb_truetype.h
@@
-1993,7
+1993,7
@@
static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill,
STBTT_assert(fabs(area) <= 1.01f);
- scanline[x2] += area + sign * (1-(
(x2-x2)+(x_bottom-x2)
)/2) * (sy1-y_crossing);
+ scanline[x2] += area + sign * (1-(
x_bottom-x2
)/2) * (sy1-y_crossing);
scanline_fill[x2] += sign * (sy1-sy0);
}